fix resetpassword

This commit is contained in:
Cayo Puigdefabregas 2024-02-22 13:48:26 +01:00
parent f6de135016
commit c4049d966b
1 changed files with 0 additions and 1 deletions

View File

@ -68,7 +68,6 @@ class PasswordResetConfirmView(auth_views.PasswordResetConfirmView):
password = form.cleaned_data.get("new_password1")
user = form.user
user.set_password(password)
user.set_encrypted_sensitive_data(password)
user.save()
return HttpResponseRedirect(self.success_url)