From 9ee97de1d80ad3ce90b0a58e5b39fd760f48ba5a Mon Sep 17 00:00:00 2001 From: "bbaetz%acm.org" Date: Sat, 5 Apr 2003 02:21:54 +0000 Subject: [PATCH] Bug 200072 - Creating new users from LDAP at authentication time is broken r,a=justdave git-svn-id: svn://10.0.0.236/trunk@140738 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/Bugzilla/Auth/LDAP.pm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mozilla/webtools/bugzilla/Bugzilla/Auth/LDAP.pm b/mozilla/webtools/bugzilla/Bugzilla/Auth/LDAP.pm index 4570bdde974..8d2f03fbcb2 100644 --- a/mozilla/webtools/bugzilla/Bugzilla/Auth/LDAP.pm +++ b/mozilla/webtools/bugzilla/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; }