mirror of https://github.com/jumpserver/jumpserver
perf: 修改啊
parent
41f81bc0bf
commit
e7edbc9d84
|
@ -175,8 +175,7 @@ class UserLoginView(mixins.AuthMixin, FormView):
|
||||||
'logo': static('img/login_feishu_logo.png')
|
'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
|
@staticmethod
|
||||||
def get_forgot_password_url():
|
def get_forgot_password_url():
|
||||||
|
|
Loading…
Reference in New Issue