From cafbd08986e419a4a18da1fc99efe1c1ec99be12 Mon Sep 17 00:00:00 2001 From: ibuler <ibuler@qq.com> Date: Sat, 18 Sep 2021 15:46:41 +0800 Subject: [PATCH] =?UTF-8?q?perf:=20=E4=BF=AE=E6=94=B9=E5=95=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/authentication/views/login.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/apps/authentication/views/login.py b/apps/authentication/views/login.py index 07fa7cc5a..16b76d1d7 100644 --- a/apps/authentication/views/login.py +++ b/apps/authentication/views/login.py @@ -175,8 +175,7 @@ class UserLoginView(mixins.AuthMixin, FormView): 'logo': static('img/login_feishu_logo.png') } ] - return [method for method in auth_methods] - # return [method for method in auth_methods if method['enabled']] + return [method for method in auth_methods if method['enabled']] @staticmethod def get_forgot_password_url():