Skip to content

Commit

Permalink
ldap: still temporarily disable PW sync from LDAP
Browse files Browse the repository at this point in the history
  • Loading branch information
calbrecht committed Aug 12, 2024
1 parent f737add commit b18f5fa
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions authentik/sources/ldap/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@ def auth_user(self, source: LDAPSource, password: str, **filters: str) -> User |
if self.auth_user_by_bind(source, user, password):
if source.password_login_update_internal_password:
# Password given successfully binds to LDAP, so we save it in our Database
LOGGER.debug("Updating user's password in DB", user=user)
user.set_password(password, signal=False)
LOGGER.debug("Not updating user's password in DB", user=user)
#user.set_password(password, signal=False)
user.save()
return user
# Password doesn't match
Expand Down

0 comments on commit b18f5fa

Please sign in to comment.