From: dkl%redhat.com <> Date: Sat, 19 Jan 2002 04:04:32 +0000 (+0000) Subject: Fix for bug 120817 - Log Out and %commandmenu% in bannerhtml, r=justdave,dkl X-Git-Tag: bugzilla-2.16rc1~274 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ad00e1f08f41931963b741d03bf20b082c7ae8f4;p=thirdparty%2Fbugzilla.git Fix for bug 120817 - Log Out and %commandmenu% in bannerhtml, r=justdave,dkl --- diff --git a/relogin.cgi b/relogin.cgi index cafb5b93a0..44fae4cc12 100755 --- a/relogin.cgi +++ b/relogin.cgi @@ -33,6 +33,11 @@ Set-Cookie: Bugzilla_logincookie= ; path=$cookiepath; expires=Sun, 30-Jun-80 00: Content-type: text/html "; + +# delete the cookie before dumping the header so that it shows the user +# as logged out if %commandmenu% is in the header +delete $::COOKIE{"Bugzilla_login"}; + PutHeader ("Relogin"); print "Your login has been forgotten.
@@ -41,8 +46,6 @@ do an action that requires a login, you will be prompted for it."; -delete $::COOKIE{"Bugzilla_login"}; - PutFooter(); exit;