fix: reset password (#25172)

This commit is contained in:
Will 2025-09-04 20:34:56 +08:00 committed by GitHub
parent d36ce782b7
commit de768af099
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -214,6 +214,7 @@ class AccountService:
base64_password_hashed = base64.b64encode(password_hashed).decode()
account.password = base64_password_hashed
account.password_salt = base64_salt
db.session.add(account)
db.session.commit()
return account