mirror of https://github.com/jumpserver/jumpserver
feat: 支持终断DB会话
parent
c1e6bc5d60
commit
bdf95903ce
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue