-
-
Notifications
You must be signed in to change notification settings - Fork 264
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Invalid data type error
source/app/business/auth.py:validate_ldap_login: line 52
The validate_ldap_login function returns a dict, but this value is then assigned to the user variable in
source/app/blueprints/pages/login/login_routers.py:_authenticate_ldap: line 84
user = validate_ldap_login(username, password, local_fallback)
followed by a call to the wrap_login_user(user) function
source/app/business/auth.py:wrap_login_user: line 104
session['username'] = user.user
The user variable is referenced using a dot, but it is a dict object, and this line will throw an exception.
coderabbitai
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working