mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 08:25:04 +00:00
perf: 企业微信、钉钉、飞书本地没有用户即创建
This commit is contained in:
committed by
Jiangjie.Bai
parent
3f1858a105
commit
185f33c3e0
@@ -197,11 +197,9 @@ class WeComQRLoginCallbackView(WeComQRMixin, BaseLoginCallbackView):
|
||||
client_auth_params = {'corpid': 'WECOM_CORPID', 'corpsecret': 'WECOM_SECRET', 'agentid': 'WECOM_AGENTID'}
|
||||
user_type = 'wecom'
|
||||
auth_backend = 'AUTH_BACKEND_WECOM'
|
||||
create_user_if_not_exist_setting = 'WECOM_CREATE_USER_IF_NOT_EXIST'
|
||||
|
||||
msg_client_err = _('WeCom Error')
|
||||
msg_user_not_bound_err = _('WeCom is not bound')
|
||||
msg_user_need_bound_warning = _('Please login with a password and then bind the WeCom')
|
||||
msg_not_found_user_from_client_err = _('Failed to get user from WeCom')
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user