From 16eaf34f610bacd28ff0b21574f2ac7e69be8cec Mon Sep 17 00:00:00 2001 From: Dominik George <dominik.george@teckids.org> Date: Thu, 25 Feb 2021 23:34:59 +0100 Subject: [PATCH] Allow overriding password handling in config --- aleksis/core/settings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aleksis/core/settings.py b/aleksis/core/settings.py index 318c669ae..27f36211a 100644 --- a/aleksis/core/settings.py +++ b/aleksis/core/settings.py @@ -291,7 +291,7 @@ if _settings.get("ldap.uri", None): AUTH_LDAP_BIND_PASSWORD = _settings.get("ldap.bind.password") # Keep local password for users to be required to proveide their old password on change - AUTH_LDAP_SET_USABLE_PASSWORD = True + AUTH_LDAP_SET_USABLE_PASSWORD = _settings.get("ldap.handle_passwords", True) # Keep bound as the authenticating user # Ensures proper read permissions, and ability to change password without admin -- GitLab