diff --git a/api/controllers/console/error.py b/api/controllers/console/error.py index e0630ca66c..96bda4fe3f 100644 --- a/api/controllers/console/error.py +++ b/api/controllers/console/error.py @@ -53,8 +53,8 @@ class AccountBannedError(BaseHTTPException): class NotAllowedRegister(BaseHTTPException): - error_code = "unauthorized" - description = "Account not found." + error_code = "not_allowed_register" + description = "Not Allowed Register" code = 400