summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2005-08-13 23:14:39 +0200
committerlpsolit%gmail.com <>2005-08-13 23:14:39 +0200
commit490fcaacd24bb9ef55a1b70da8a43ff44b3a4553 (patch)
tree189f9cb114fd7ea2fa975fdc219c0491e3f9d653
parent2fe49f40feabcabebfd6604765d897cfaddd222f (diff)
downloadbugzilla-490fcaacd24bb9ef55a1b70da8a43ff44b3a4553.tar.gz
bugzilla-490fcaacd24bb9ef55a1b70da8a43ff44b3a4553.tar.xz
Bug 302644: relogin.cgi may ask you to login... before logging you out - Patch by Frédéric Buclin <LpSolit@gmail.com> r=wurblzap a=justdave
-rwxr-xr-xrelogin.cgi3
1 files changed, 2 insertions, 1 deletions
diff --git a/relogin.cgi b/relogin.cgi
index f743eb8f3..1d682965d 100755
--- a/relogin.cgi
+++ b/relogin.cgi
@@ -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();