FIX
parent
9301493482
commit
d0008687d0
|
@ -66,6 +66,6 @@ class CompanyLDAP(orm.Model):
|
||||||
values[value_key] = ldap_entry[1][conf[conf_name]][0]
|
values[value_key] = ldap_entry[1][conf[conf_name]][0]
|
||||||
except KeyError:
|
except KeyError:
|
||||||
_log.warning('No LDAP attribute "%s" found for login "%s"' % (
|
_log.warning('No LDAP attribute "%s" found for login "%s"' % (
|
||||||
conf.get(conf_name, values.get('login'))))
|
conf.get(conf_name), values.get('login')))
|
||||||
return values
|
return values
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue