Commit 1eac4002 authored by markus's avatar markus

Merge branch 'develop'

parents c9d32c50 90f33d24
......@@ -80,7 +80,7 @@ class Custom_Selfregrequest(AddRequest):
def search_by_mail(self):
mail_filter = '(&' + getattr(settings, 'USER_FILTER') + '(' + 'mail=' + self.mail[0] + '))'
mail_filter = '(&' + getattr(pdp_settings, 'USER_FILTER') + '(' + 'mail=' + self.mail[0] + '))'
t = self.ldap_connection.search_s(self.location, ldap.SCOPE_SUBTREE, mail_filter)
return t
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment