Skip to content

[BUG]Β #998

@rshb-sysa

Description

@rshb-sysa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions