From 490fcaacd24bb9ef55a1b70da8a43ff44b3a4553 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 13 Aug 2005 21:14:39 +0000 Subject: Bug 302644: relogin.cgi may ask you to login... before logging you out - Patch by Frédéric Buclin r=wurblzap a=justdave MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- relogin.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'relogin.cgi') 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(); -- cgit v1.2.3-24-g4f1b