mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
fix: update not_allowed_register message
This commit is contained in:
parent
2fed55ae6b
commit
855f61ad54
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user