perf: 修改啊

pull/6912/head
ibuler 2021-09-18 15:46:41 +08:00
parent 41f81bc0bf
commit e7edbc9d84
1 changed files with 1 additions and 2 deletions

View File

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