perf: 企业微信、钉钉、飞书本地没有用户即创建

This commit is contained in:
jiangweidong
2023-05-08 16:55:04 +08:00
committed by Jiangjie.Bai
parent 3f1858a105
commit 185f33c3e0
8 changed files with 0 additions and 25 deletions

View File

@@ -205,11 +205,9 @@ class DingTalkQRLoginCallbackView(DingTalkQRMixin, BaseLoginCallbackView):
}
user_type = 'dingtalk'
auth_backend = 'AUTH_BACKEND_DINGTALK'
create_user_if_not_exist_setting = 'DINGTALK_CREATE_USER_IF_NOT_EXIST'
msg_client_err = _('DingTalk Error')
msg_user_not_bound_err = _('DingTalk is not bound')
msg_user_need_bound_warning = _('Please login with a password and then bind the DingTalk')
msg_not_found_user_from_client_err = _('Failed to get user from DingTalk')