Skip to content

Commit

Permalink
fix: string error
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhouhaoJiang committed Aug 29, 2024
1 parent df5b4ff commit 1b9c71b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/controllers/console/auth/forgot_password.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def post(self):
try:
token = AccountService.send_reset_password_email(account=account, email=args["email"])
except RateLimitExceededError:
logging.warning(f"Rate limit exceeded for email: {args["email"]}")
logging.warning(f"Rate limit exceeded for email: {args['email']}")
raise PasswordResetRateLimitExceededError()

return {"result": "success", "data": token}
Expand Down

0 comments on commit 1b9c71b

Please sign in to comment.