mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-03 00:15:20 +00:00
feat: 拆分 feishu lark
This commit is contained in:
@@ -55,6 +55,12 @@ class FeiShuAuthentication(JMSModelBackend):
|
||||
pass
|
||||
|
||||
|
||||
class LarkAuthentication(FeiShuAuthentication):
|
||||
@staticmethod
|
||||
def is_enabled():
|
||||
return settings.AUTH_LARK
|
||||
|
||||
|
||||
class SlackAuthentication(JMSModelBackend):
|
||||
"""
|
||||
什么也不做呀😺
|
||||
@@ -72,5 +78,6 @@ class AuthorizationTokenAuthentication(JMSModelBackend):
|
||||
"""
|
||||
什么也不做呀😺
|
||||
"""
|
||||
|
||||
def authenticate(self, request, **kwargs):
|
||||
pass
|
||||
|
Reference in New Issue
Block a user