mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-10-22 16:31:33 +00:00
perf: 资产授权添加协议
This commit is contained in:
@@ -55,4 +55,4 @@ class IsValidUserOrConnectionToken(IsValidUser):
|
||||
return False
|
||||
with tmp_to_root_org():
|
||||
token = get_object_or_none(ConnectionToken, id=token_id)
|
||||
return token and token.is_valid
|
||||
return token and token.is_valid()
|
||||
|
Reference in New Issue
Block a user