feat: update EmailPasswordLoginLimitError

This commit is contained in:
Joe 2024-10-15 15:25:20 +08:00
parent fd23e63522
commit b105998fe9

View File

@ -45,7 +45,7 @@ class EmailOrPasswordMismatchError(BaseHTTPException):
class EmailPasswordLoginLimitError(BaseHTTPException): class EmailPasswordLoginLimitError(BaseHTTPException):
error_code = "email_code_login_limit" error_code = "email_code_login_limit"
description = "The account was locked for 24 hours because the password was entered too many times." description = "Too many incorrect password attempts. Please try again later."
code = 429 code = 429