Commit 490fcaac authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Bug 302644: relogin.cgi may ask you to login... before logging you out - Patch…

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
parent 2fe49f40
......@@ -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();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment