perf: 优化登陆

This commit is contained in:
ibuler
2022-06-21 19:06:06 +08:00
parent 2366da1485
commit 8f59bb2a48
2 changed files with 6 additions and 14 deletions

View File

@@ -178,7 +178,7 @@ class UserLoginView(mixins.AuthMixin, FormView):
'logo': static('img/login_feishu_logo.png')
}
]
return [method for method in auth_methods if method['enabled']]
return [method for method in auth_methods]
@staticmethod
def get_support_langs():