mirror of
https://github.com/langgenius/dify.git
synced 2026-01-10 16:34:15 +00:00
feat: change error resp
This commit is contained in:
@@ -46,7 +46,7 @@ class EmailOrPasswordMismatchError(BaseHTTPException):
|
||||
class EmailPasswordLoginLimitError(BaseHTTPException):
|
||||
error_code = "email_code_login_limit"
|
||||
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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user