From b105998fe96edc4549bc28ff15f39a412ee38b03 Mon Sep 17 00:00:00 2001 From: Joe <1264204425@qq.com> Date: Tue, 15 Oct 2024 15:25:20 +0800 Subject: [PATCH] feat: update EmailPasswordLoginLimitError --- 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 f0558e6710..e6e30c3c0b 100644 --- a/api/controllers/console/auth/error.py +++ b/api/controllers/console/auth/error.py @@ -45,7 +45,7 @@ class EmailOrPasswordMismatchError(BaseHTTPException): class EmailPasswordLoginLimitError(BaseHTTPException): 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