fix: 终端获取配置API返回SECURITY_SESSION_SHARE

pull/6776/head
Michael Bai 2021-09-07 19:06:56 +08:00 committed by Jiangjie.Bai
parent c465fccc33
commit 8b483b8c36
1 changed files with 2 additions and 1 deletions

View File

@ -151,7 +151,8 @@ class Terminal(StorageMixin, TerminalStatusMixin, models.Model):
configs.update(self.get_replay_storage_setting())
configs.update(self.get_login_title_setting())
configs.update({
'SECURITY_MAX_IDLE_TIME': settings.SECURITY_MAX_IDLE_TIME
'SECURITY_MAX_IDLE_TIME': settings.SECURITY_MAX_IDLE_TIME,
'SECURITY_SESSION_SHARE': settings.SECURITY_SESSION_SHARE
})
return configs