summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth/Verify.pm
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2006-05-16 01:13:02 +0200
committerlpsolit%gmail.com <>2006-05-16 01:13:02 +0200
commitb1fe1ec6836541532433304f86492978c03c1e03 (patch)
tree5f4acc199e0e564ac631b117a36517ac4721cf60 /Bugzilla/Auth/Verify.pm
parent14a992f3f26e6c58003a729a6773bb0902ba431e (diff)
downloadbugzilla-b1fe1ec6836541532433304f86492978c03c1e03.tar.gz
bugzilla-b1fe1ec6836541532433304f86492978c03c1e03.tar.xz
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);
}