perf: 删除全部用户错误提示 (#10546)

Co-authored-by: feng <1304903146@qq.com>
This commit is contained in:
fit2bot
2023-05-25 11:38:20 +08:00
committed by GitHub
parent cabdc3ad42
commit 32a8e150da
6 changed files with 422 additions and 369 deletions

View File

@@ -15,6 +15,6 @@ class PhoneNotSet(JMSException):
default_detail = _('Phone not set')
class MFAMethodNotSupport(JMSException):
default_code = 'mfa_not_support'
default_detail = _('MFA method not support')
class UnableToDeleteAllUsers(JMSException):
default_code = 'unable_to_delete_all_users'
default_detail = _('Unable to delete all users')