diff options
Diffstat (limited to 'Bugzilla/Auth')
-rw-r--r-- | Bugzilla/Auth/Login/WWW.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Bugzilla/Auth/Login/WWW.pm b/Bugzilla/Auth/Login/WWW.pm index d18c758d9..def68df63 100644 --- a/Bugzilla/Auth/Login/WWW.pm +++ b/Bugzilla/Auth/Login/WWW.pm @@ -43,9 +43,7 @@ sub login { # Avoid double-logins, which may confuse the auth code # (double cookies, odd compat code settings, etc) - if (defined $user) { - return $user; - } + return $user if $user->id; $type = LOGIN_NORMAL unless defined $type; |