diff --git a/aleksis/core/util/ldap.py b/aleksis/core/util/ldap.py index c4720676a46492111b781e12fc314c738f6c4c4c..031e582e779f7998d79371cff4127b489dfc7355 100644 --- a/aleksis/core/util/ldap.py +++ b/aleksis/core/util/ldap.py @@ -27,5 +27,6 @@ class LDAPBackend(_LDAPBackend): else: # Disable local password if authentication fails user.set_unusable_password() + user.save() return user