]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 302644: relogin.cgi may ask you to login... before logging you out - Patch by...
authorlpsolit%gmail.com <>
Sat, 13 Aug 2005 21:17:16 +0000 (21:17 +0000)
committerlpsolit%gmail.com <>
Sat, 13 Aug 2005 21:17:16 +0000 (21:17 +0000)
relogin.cgi

index 6843405c20ef8e8f7bd7e4d663f021f36fec66fe..7c1ffe6f8aeecf75d103dbd1976c03a6d8de896a 100755 (executable)
@@ -27,12 +27,13 @@ use vars qw($template $vars);
 
 use lib qw(.);
 
+use Bugzilla::Constants;
 require "CGI.pl";
 
 # We don't want to remove a random logincookie from the db, so
 # call Bugzilla->login(). If we're logged in after this, then
 # the logincookie must be correct
-Bugzilla->login();
+Bugzilla->login(LOGIN_OPTIONAL);
 
 Bugzilla->logout();