From b376491020b7c6fc42577f5510835d41f7cf6f73 Mon Sep 17 00:00:00 2001 From: jiangweidong Date: Fri, 28 Apr 2023 16:26:03 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BC=98=E5=8C=96user=5Ftype=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/views/base.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/authentication/views/base.py b/apps/authentication/views/base.py index 28b4827a1..e93951e00 100644 --- a/apps/authentication/views/base.py +++ b/apps/authentication/views/base.py @@ -24,7 +24,7 @@ class BaseLoginCallbackView(AuthMixin, FlashMessageMixin, View): super().__init__() self.client_type = None self.client_auth_params = {} - self.user_type = None + self.user_type = '' self.auth_backend = None self.create_user_if_not_exist_setting = '' # 提示信息