1
0
mirror of https://github.com/janeczku/calibre-web synced 2025-09-01 10:27:58 +00:00

Merge branch 'master' into Develop

This commit is contained in:
Ozzie Isaacs
2021-07-30 21:00:01 +02:00

View File

@@ -1803,7 +1803,7 @@ def import_ldap_users():
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:
return match.group(1)
else: