Skip to content

Commit

Permalink
Do not enable LDAP by default
Browse files Browse the repository at this point in the history
  • Loading branch information
shirlei authored and benadida committed Apr 9, 2023
1 parent 067dfa9 commit 1b8e92a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ def get_from_env(var, default):
# authentication systems enabled
# AUTH_ENABLED_SYSTEMS = ['password','facebook','twitter', 'google', 'yahoo']
AUTH_ENABLED_SYSTEMS = get_from_env('AUTH_ENABLED_SYSTEMS',
get_from_env('AUTH_ENABLED_AUTH_SYSTEMS', 'password,google,facebook,ldap')
get_from_env('AUTH_ENABLED_AUTH_SYSTEMS', 'password,google,facebook')
).split(",")
AUTH_DEFAULT_SYSTEM = get_from_env('AUTH_DEFAULT_SYSTEM', get_from_env('AUTH_DEFAULT_AUTH_SYSTEM', None))

Expand Down

0 comments on commit 1b8e92a

Please sign in to comment.