mirror of
https://github.com/langgenius/dify.git
synced 2026-05-06 02:18:08 +08:00
feat: change error resp
This commit is contained in:
@ -46,7 +46,7 @@ class EmailOrPasswordMismatchError(BaseHTTPException):
|
|||||||
class EmailPasswordLoginLimitError(BaseHTTPException):
|
class EmailPasswordLoginLimitError(BaseHTTPException):
|
||||||
error_code = "email_code_login_limit"
|
error_code = "email_code_login_limit"
|
||||||
description = (
|
description = (
|
||||||
"Too many incorrect password attempts. Please verify your identity with the email code to complete login."
|
"The account was locked for 24 hours because the password was entered too many times."
|
||||||
)
|
)
|
||||||
code = 429
|
code = 429
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user