Commit e66fbf3f authored by bbaetz%acm.org's avatar bbaetz%acm.org

Bug 208620 - Fix return value of Bugzilla->login when user already exists

r,a=justdave
parent 93b46e54
...@@ -61,7 +61,7 @@ sub login { ...@@ -61,7 +61,7 @@ sub login {
# $::COOKIE{'Bugzilla_login'} from a userid to a loginname # $::COOKIE{'Bugzilla_login'} from a userid to a loginname
# (for backwards compat) # (for backwards compat)
if (defined $_user) { if (defined $_user) {
return $_user->{id}; return $_user;
} }
$type = LOGIN_NORMAL unless defined $type; $type = LOGIN_NORMAL unless defined $type;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment