ldap: fixed email extraction typo. An empty
ldap email will now not overwritt the stored one.
This commit is contained in:
parent
b66d7cc7d4
commit
95952e7709
1 changed files with 1 additions and 1 deletions
|
|
@ -444,7 +444,7 @@ class RhodeCodeAuthPlugin(RhodeCodeExternalAuthPlugin):
|
|||
'lastname': safe_unicode(
|
||||
get_ldap_attr('attr_lastname') or lastname),
|
||||
'groups': groups,
|
||||
'email': get_ldap_attr('attr_email' or email),
|
||||
'email': get_ldap_attr('attr_email') or email,
|
||||
'admin': admin,
|
||||
'active': active,
|
||||
"active_from_extern": None,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue