Browse Source

perf: 修改啊

pull/6912/head
ibuler 3 years ago
parent
commit
e7edbc9d84
  1. 3
      apps/authentication/views/login.py

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

Loading…
Cancel
Save