diff options
author | lpsolit%gmail.com <> | 2005-08-13 23:14:39 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2005-08-13 23:14:39 +0200 |
commit | 490fcaacd24bb9ef55a1b70da8a43ff44b3a4553 (patch) | |
tree | 189f9cb114fd7ea2fa975fdc219c0491e3f9d653 | |
parent | 2fe49f40feabcabebfd6604765d897cfaddd222f (diff) | |
download | bugzilla-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-x | relogin.cgi | 3 |
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(); |