Remove ldap2identity overloaded method, since it was integrated in authentic
This commit is contained in:
parent
eb523bacea
commit
c489213bf6
|
@ -58,12 +58,4 @@ class IdentitiesStoreIFEF(authentic.identities.IdentitiesStoreLdap):
|
|||
self.alpha_request_str = '(&(uid=%%s*)(objectclass=%(oc)s))' % \
|
||||
{ 'oc': self.ldap_object_class }
|
||||
|
||||
def ldap2identity(self, v):
|
||||
i = authentic.identities.IdentitiesStoreLdap.ldap2identity(self, v)
|
||||
if self.ldap_object_name:
|
||||
keys=self.ldap_object_name.split('+')
|
||||
values=[ v[1].get(key.strip())[0] for key in keys if key in v[1]]
|
||||
i.name = ' '.join([utf82sitecharset(v) for v in values if v])
|
||||
return i
|
||||
|
||||
authentic.identities.stores['ifef'] = IdentitiesStoreIFEF
|
||||
|
|
Reference in New Issue