From: lpsolit%gmail.com <> Date: Sat, 13 Aug 2005 21:17:16 +0000 (+0000) Subject: Bug 302644: relogin.cgi may ask you to login... before logging you out - Patch by... X-Git-Tag: bugzilla-2.20~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aeab043a1399eb5c02bd82053651ead93427e274;p=thirdparty%2Fbugzilla.git Bug 302644: relogin.cgi may ask you to login... before logging you out - Patch by Frédéric Buclin r=wurblzap a=justdave --- diff --git a/relogin.cgi b/relogin.cgi index 6843405c20..7c1ffe6f8a 100755 --- a/relogin.cgi +++ b/relogin.cgi @@ -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();