mirror of
https://github.com/jumpserver/jumpserver.git
synced 2025-09-20 19:09:02 +00:00
feat: 支持终断DB会话
This commit is contained in:
@@ -129,8 +129,6 @@ class Session(OrgModelMixin):
|
|||||||
_PROTOCOL = self.PROTOCOL
|
_PROTOCOL = self.PROTOCOL
|
||||||
if self.is_finished:
|
if self.is_finished:
|
||||||
return False
|
return False
|
||||||
if self.protocol in self.db_protocols:
|
|
||||||
return False
|
|
||||||
else:
|
else:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user