summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbbaetz%acm.org <>2003-04-05 12:21:54 +0200
committerbbaetz%acm.org <>2003-04-05 12:21:54 +0200
commite72966bac14ae0c808fd7ffa56f7f2fab10a6c75 (patch)
tree3d267699b913eca13b750416a326046152d848b9
parent337e0be6c8660da73f7e55e299c7522e784d5ff6 (diff)
downloadbugzilla-e72966bac14ae0c808fd7ffa56f7f2fab10a6c75.tar.gz
bugzilla-e72966bac14ae0c808fd7ffa56f7f2fab10a6c75.tar.xz
Bug 200072 - Creating new users from LDAP at authentication time is broken
r,a=justdave
-rw-r--r--Bugzilla/Auth/LDAP.pm6
1 files changed, 3 insertions, 3 deletions
diff --git a/Bugzilla/Auth/LDAP.pm b/Bugzilla/Auth/LDAP.pm
index 4570bdde9..8d2f03fbc 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;
}