From 62f14088b5f5ec6f2d7da15a672358be97291eff Mon Sep 17 00:00:00 2001 From: Joe <1264204425@qq.com> Date: Fri, 27 Sep 2024 12:48:15 +0800 Subject: [PATCH] feat: change error resp --- api/controllers/console/auth/error.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api/controllers/console/auth/error.py b/api/controllers/console/auth/error.py index 4658d2c1e9..aa638be135 100644 --- a/api/controllers/console/auth/error.py +++ b/api/controllers/console/auth/error.py @@ -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