From: bbaetz%acm.org <> Date: Sat, 5 Apr 2003 10:21:54 +0000 (+0000) Subject: Bug 200072 - Creating new users from LDAP at authentication time is broken X-Git-Tag: bugzilla-2.17.4~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e72966bac14ae0c808fd7ffa56f7f2fab10a6c75;p=thirdparty%2Fbugzilla.git Bug 200072 - Creating new users from LDAP at authentication time is broken r,a=justdave --- diff --git a/Bugzilla/Auth/LDAP.pm b/Bugzilla/Auth/LDAP.pm index 4570bdde97..8d2f03fbcb 100644 --- a/Bugzilla/Auth/LDAP.pm +++ b/Bugzilla/Auth/LDAP.pm @@ -138,9 +138,9 @@ sub authenticate { } &::InsertNewUser($username, $userRealName); - my ($userid, $disabledtext) = $dbh->selectrow_array($sth, - undef, - $username); + ($userid, $disabledtext) = $dbh->selectrow_array($sth, + undef, + $username); return (AUTH_ERROR, $userid, "no_userid") unless $userid; }