aboutsummaryrefslogtreecommitdiffstats
path: root/relogin.cgi
diff options
context:
space:
mode:
authordkl%redhat.com <>2002-01-19 04:04:32 +0000
committerdkl%redhat.com <>2002-01-19 04:04:32 +0000
commitad00e1f08f41931963b741d03bf20b082c7ae8f4 (patch)
tree3fe5ec801ed0c97b04952c91a42fe49e2587ef44 /relogin.cgi
parent1eeb2fb8db4da64da0ec8e44e2fe91b8c797d093 (diff)
downloadbugs-ad00e1f08f41931963b741d03bf20b082c7ae8f4.tar
bugs-ad00e1f08f41931963b741d03bf20b082c7ae8f4.tar.gz
bugs-ad00e1f08f41931963b741d03bf20b082c7ae8f4.tar.bz2
bugs-ad00e1f08f41931963b741d03bf20b082c7ae8f4.tar.xz
bugs-ad00e1f08f41931963b741d03bf20b082c7ae8f4.zip
Fix for bug 120817 - Log Out and %commandmenu% in bannerhtml, r=justdave,dkl
Diffstat (limited to 'relogin.cgi')
-rwxr-xr-xrelogin.cgi7
1 files changed, 5 insertions, 2 deletions
diff --git a/relogin.cgi b/relogin.cgi
index cafb5b93a..44fae4cc1 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 "<B>Your login has been forgotten</B>.</P>
@@ -41,8 +46,6 @@ do an action that requires a login, you will be prompted for it.
<p>
";
-delete $::COOKIE{"Bugzilla_login"};
-
PutFooter();
exit;