fix: 一些提示

This commit is contained in:
xinwen
2021-09-15 18:01:45 +08:00
committed by Jiangjie.Bai
parent 8e12399058
commit 1c4b4951dc
2 changed files with 63 additions and 49 deletions

View File

@@ -215,7 +215,7 @@ class DingTalkQRLoginCallbackView(AuthMixin, DingTalkQRMixin, View):
user = get_object_or_none(User, dingtalk_id=userid)
if user is None:
title = _('DingTalk is not bound')
msg = _('Please login with a password and then bind the WeCom')
msg = _('Please login with a password and then bind the DingTalk')
response = self.get_failed_reponse(login_url, title=title, msg=msg)
return response