diff options
author | lpsolit%gmail.com <> | 2006-05-16 01:13:02 +0200 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-05-16 01:13:02 +0200 |
commit | b1fe1ec6836541532433304f86492978c03c1e03 (patch) | |
tree | 5f4acc199e0e564ac631b117a36517ac4721cf60 /Bugzilla | |
parent | 14a992f3f26e6c58003a729a6773bb0902ba431e (diff) | |
download | bugzilla-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')
-rw-r--r-- | Bugzilla/Auth/Verify.pm | 2 |
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); } |