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

r,a=justdave


git-svn-id: svn://10.0.0.236/trunk@143418 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bbaetz%acm.org
2003-06-07 13:59:24 +00:00
parent 2765854b63
commit ba616fb787

View File

@@ -61,7 +61,7 @@ sub login {
# $::COOKIE{'Bugzilla_login'} from a userid to a loginname
# (for backwards compat)
if (defined $_user) {
return $_user->{id};
return $_user;
}
$type = LOGIN_NORMAL unless defined $type;