feat: member invitation and activation (#535)

Co-authored-by: John Wang <takatost@gmail.com>
This commit is contained in:
KVOJJJin 2023-07-14 11:19:26 +08:00 committed by GitHub
commit cd51d3323b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
51 changed files with 1235 additions and 329 deletions

View file

@ -7,6 +7,12 @@ class RepeatPasswordNotMatchError(BaseHTTPException):
code = 400
class CurrentPasswordIncorrectError(BaseHTTPException):
error_code = 'current_password_incorrect'
description = "Current password is incorrect."
code = 400
class ProviderRequestFailedError(BaseHTTPException):
error_code = 'provider_request_failed'
description = None