From: lpsolit%gmail.com <> Date: Sat, 13 Aug 2005 21:14:39 +0000 (+0000) Subject: Bug 302644: relogin.cgi may ask you to login... before logging you out - Patch by... X-Git-Tag: bugzilla-2.21.1~120 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=490fcaacd24bb9ef55a1b70da8a43ff44b3a4553;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 f743eb8f3e..1d682965db 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();