Skip to content

Commit

Permalink
fix setattr call
Browse files Browse the repository at this point in the history
Signed-off-by: Jens Langhammer <jens@goauthentik.io>
  • Loading branch information
BeryJu committed Nov 17, 2023
1 parent 9fe3650 commit 3ff282e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authentik/outposts/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -354,7 +354,7 @@ def user(self) -> User:
for key, value in attrs.items():
if getattr(user, key) != value:
dirty = True
setattr(user, value)
setattr(user, key, value)
if user.has_usable_password():
user.set_unusable_password()
dirty = True
Expand Down

0 comments on commit 3ff282e

Please sign in to comment.