From 1520142d6f8e511a4d30f6035459a63d291f543e Mon Sep 17 00:00:00 2001 From: Egor fureunoir Gorbunov Date: Wed, 21 May 2025 16:32:21 +0300 Subject: [PATCH] Features: 1) None; Fixes: 1) Ensure user.save() is called after setting a new password; Extra: None; --- vibes_auth/graphene/mutations.py | 1 + 1 file changed, 1 insertion(+) diff --git a/vibes_auth/graphene/mutations.py b/vibes_auth/graphene/mutations.py index 011c7a84..ede7e62d 100644 --- a/vibes_auth/graphene/mutations.py +++ b/vibes_auth/graphene/mutations.py @@ -121,6 +121,7 @@ class UpdateUser(BaseMutation): if not compare_digest(password, "") and compare_digest(password, confirm_password): user.set_password(password) + user.save() attribute_pairs = kwargs.pop("attributes", "")