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

Bug 200072 - Creating new users from LDAP at authentication time is broken

r,a=justdave
parent 337e0be6
...@@ -138,9 +138,9 @@ sub authenticate { ...@@ -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;
} }
......
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