Skip to content

Variable LDAP_AUTHENTICATION_TYPE in .env.model#217

Merged
whikernel merged 1 commit intodfir-iris:masterfrom
c8y3:env_ldap_authentication_type
Apr 18, 2023
Merged

Variable LDAP_AUTHENTICATION_TYPE in .env.model#217
whikernel merged 1 commit intodfir-iris:masterfrom
c8y3:env_ldap_authentication_type

Conversation

@c8y3
Copy link
Copy Markdown
Contributor

@c8y3 c8y3 commented Apr 18, 2023

When the LDAP_AUTHENTICATION_TYPE is not present in the .env file, we get the following error during an ldap authentication:

ERROR :: login_routes :: _authenticate_ldap :: 'NoneType' object has no attribute 'lower'

So I am proposing this pull request because it took me some time to understand what was missing when configuring authentication with ldap for the first time.

@whikernel whikernel self-requested a review April 18, 2023 14:45
Copy link
Copy Markdown
Contributor

@whikernel whikernel left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, thanks for the fix @c8y3

@whikernel whikernel merged commit 6f1c198 into dfir-iris:master Apr 18, 2023
@c8y3 c8y3 deleted the env_ldap_authentication_type branch April 18, 2023 14:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants