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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user