diff options
Diffstat (limited to 'relogin.cgi')
-rwxr-xr-x | relogin.cgi | 3 |
1 files changed, 2 insertions, 1 deletions
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(); |