aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth/Verify.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-05-15 23:13:02 +0000
committerlpsolit%gmail.com <>2006-05-15 23:13:02 +0000
commitb1fe1ec6836541532433304f86492978c03c1e03 (patch)
tree5f4acc199e0e564ac631b117a36517ac4721cf60 /Bugzilla/Auth/Verify.pm
parent14a992f3f26e6c58003a729a6773bb0902ba431e (diff)
downloadbugs-b1fe1ec6836541532433304f86492978c03c1e03.tar
bugs-b1fe1ec6836541532433304f86492978c03c1e03.tar.gz
bugs-b1fe1ec6836541532433304f86492978c03c1e03.tar.bz2
bugs-b1fe1ec6836541532433304f86492978c03c1e03.tar.xz
bugs-b1fe1ec6836541532433304f86492978c03c1e03.zip
Bug 337661: LDAP user login failure: Can't locate object method "realname" via package "Bugzilla::User" - Patch by Max Kanat-Alexander <mkanat@bugzilla.org> r=LpSolit a=justdave
Diffstat (limited to 'Bugzilla/Auth/Verify.pm')
-rw-r--r--Bugzilla/Auth/Verify.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Bugzilla/Auth/Verify.pm b/Bugzilla/Auth/Verify.pm
index cbff2c73f..da277cefd 100644
--- a/Bugzilla/Auth/Verify.pm
+++ b/Bugzilla/Auth/Verify.pm
@@ -109,7 +109,7 @@ sub create_or_update_user {
$dbh->do('UPDATE profiles SET login_name = ? WHERE userid = ?',
$username, $user->id);
}
- if ($real_name && $user->realname ne $real_name) {
+ if ($real_name && $user->name ne $real_name) {
$dbh->do('UPDATE profiles SET realname = ? WHERE userid = ?',
undef, $real_name, $user->id);
}