From 490fcaacd24bb9ef55a1b70da8a43ff44b3a4553 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Sat, 13 Aug 2005 21:14:39 +0000 Subject: [PATCH] =?utf8?q?Bug=20302644:=20relogin.cgi=20may=20ask=20you=20?= =?utf8?q?to=20login...=20before=20logging=20you=20out=20-=20Patch=20by=20?= =?utf8?q?Fr=C3=A9d=C3=A9ric=20Buclin=20=20r=3Dwurblzap?= =?utf8?q?=20a=3Djustdave?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- relogin.cgi | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.47.3