feat: update register logic

This commit is contained in:
Joe
2024-08-29 15:15:48 +08:00
parent ccc0ec8178
commit da684ebfaa
4 changed files with 89 additions and 44 deletions

View File

@ -35,9 +35,3 @@ class EmailLoginCodeError(BaseHTTPException):
error_code = "email_login_code_error"
description = "Email login code is invalid or expired."
code = 400
class NotAllowCreateWorkspaceError(BaseHTTPException):
error_code = "workspace_not_found"
description = "Workspace not found."
code = 400