From 3e46d72ba3694dce4144bd634267799745198c64 Mon Sep 17 00:00:00 2001 From: fit2bot <68588906+fit2bot@users.noreply.github.com> Date: Wed, 10 Apr 2024 17:07:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8Dlark=E7=99=BB=E5=BD=95?= =?UTF-8?q?=20Backend=E9=94=99=E8=AF=AF=E9=97=AE=E9=A2=98=20(#12981)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: feng <1304903146@qq.com> --- apps/authentication/views/lark.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/apps/authentication/views/lark.py b/apps/authentication/views/lark.py index 3337a95a1..b2b3565b5 100644 --- a/apps/authentication/views/lark.py +++ b/apps/authentication/views/lark.py @@ -47,3 +47,5 @@ class LarkQRLoginCallbackView(BaseLarkQRMixin, FeiShuQRLoginCallbackView): msg_client_err = _('Lark Error') msg_user_not_bound_err = _('Lark is not bound') msg_not_found_user_from_client_err = _('Failed to get user from Lark') + + auth_backend = f'AUTH_BACKEND_{auth_type}'.upper()