Commit 250cafe8 authored by Ozzie Isaacs's avatar Ozzie Isaacs

Merge branch 'master' into Develop

parents f0a52255 16633ef1
...@@ -1803,7 +1803,7 @@ def import_ldap_users(): ...@@ -1803,7 +1803,7 @@ def import_ldap_users():
def extract_user_data_from_field(user, field): def extract_user_data_from_field(user, field):
match = re.search(field + r"=([\d\s\w-]+)", user, re.IGNORECASE | re.UNICODE) match = re.search(field + r"=([\.\d\s\w-]+)", user, re.IGNORECASE | re.UNICODE)
if match: if match:
return match.group(1) return match.group(1)
else: else:
......
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