]> 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:14:39 +0000 (21:14 +0000)
committerlpsolit%gmail.com <>
Sat, 13 Aug 2005 21:14:39 +0000 (21:14 +0000)
relogin.cgi

index f743eb8f3eb353722f7e547c629c79a9b4398704..1d682965db0a613dedf97df167a43b84710d030c 100755 (executable)
@@ -25,12 +25,13 @@ use strict;
 
 use lib qw(.);
 use Bugzilla;
+use Bugzilla::Constants;
 use Bugzilla::Error;
 
 # 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();