зеркало из https://github.com/mozilla/pjs.git
Bug 200072 - Creating new users from LDAP at authentication time is broken
r,a=justdave
This commit is contained in:
Родитель
488974aec7
Коммит
8d7f523bc6
|
@ -138,9 +138,9 @@ sub authenticate {
|
||||||
}
|
}
|
||||||
&::InsertNewUser($username, $userRealName);
|
&::InsertNewUser($username, $userRealName);
|
||||||
|
|
||||||
my ($userid, $disabledtext) = $dbh->selectrow_array($sth,
|
($userid, $disabledtext) = $dbh->selectrow_array($sth,
|
||||||
undef,
|
undef,
|
||||||
$username);
|
$username);
|
||||||
return (AUTH_ERROR, $userid, "no_userid")
|
return (AUTH_ERROR, $userid, "no_userid")
|
||||||
unless $userid;
|
unless $userid;
|
||||||
}
|
}
|
||||||
|
|
Загрузка…
Ссылка в новой задаче