Features: 1) None;
Fixes: 1) Ensure user.save() is called after setting a new password; Extra: None;
This commit is contained in:
parent
cb66f217ac
commit
1520142d6f
1 changed files with 1 additions and 0 deletions
|
|
@ -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", "")
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue