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():