Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
Signed-off-by: Marc 'risson' Schmitt <marc.schmitt@risson.space>
  • Loading branch information
rissson committed Sep 24, 2024
1 parent 63c5adf commit a28ae3b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
4 changes: 3 additions & 1 deletion authentik/sources/kerberos/auth.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,9 @@ def auth_user(
if (
user_source_connection.source.kerberossource.password_login_update_internal_password
):
user_source_connection.user.set_password(password, sender=user_source_connection.source)
user_source_connection.user.set_password(
password, sender=user_source_connection.source
)
user_source_connection.user.save()
return user, user_source_connection.source
# Password doesn't match, onto next source
Expand Down
1 change: 0 additions & 1 deletion authentik/sources/ldap/signals.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
from authentik.core.signals import password_changed
from authentik.events.models import Event, EventAction
from authentik.flows.planner import PLAN_CONTEXT_PENDING_USER
from authentik.sources.ldap.auth import LDAPBackend
from authentik.sources.ldap.models import LDAPSource
from authentik.sources.ldap.password import LDAPPasswordChanger
from authentik.sources.ldap.tasks import ldap_connectivity_check, ldap_sync_single
Expand Down

0 comments on commit a28ae3b

Please sign in to comment.