feat: add reset password for web app login

This commit is contained in:
GareArc
2025-05-28 15:32:50 +08:00
parent 14ddb90525
commit e57bf8c959
2 changed files with 144 additions and 3 deletions

View File

@ -119,9 +119,6 @@ class ForgotPasswordResetApi(Resource):
if not reset_data:
raise InvalidTokenError()
# Must use token in reset phase
if reset_data.get("phase", "") != "reset":
raise InvalidTokenError()
# Must use token in reset phase
if reset_data.get("phase", "") != "reset":
raise InvalidTokenError()