Catch attribute error on ldap import user

Fixes for Login with Windows AD
This commit is contained in:
Ozzieisaacs
2020-12-03 20:15:31 +01:00
parent 7c96fac95c
commit 046a074c3a
2 changed files with 22 additions and 16 deletions
+2 -2
View File
@@ -85,8 +85,8 @@ def init_app(app, config):
log.error(e)
def get_object_details(user=None):
return _ldap.get_object_details(user)
def get_object_details(user=None,query_filter=None):
return _ldap.get_object_details(user, query_filter=query_filter)
def bind():