From 942b9862d8fe2b2c659d63a8f6c5bc24e476e6b0 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Tue, 25 Apr 2023 15:00:21 +0330 Subject: [feature] add login session timeout Co-Authored-By: Alireza Ahmadi --- web/entity/entity.go | 1 + 1 file changed, 1 insertion(+) (limited to 'web/entity') diff --git a/web/entity/entity.go b/web/entity/entity.go index f1b24520..b370b7ba 100644 --- a/web/entity/entity.go +++ b/web/entity/entity.go @@ -32,6 +32,7 @@ type AllSetting struct { WebCertFile string `json:"webCertFile" form:"webCertFile"` WebKeyFile string `json:"webKeyFile" form:"webKeyFile"` WebBasePath string `json:"webBasePath" form:"webBasePath"` + SessionMaxAge int `json:"sessionMaxAge" form:"sessionMaxAge"` ExpireDiff int `json:"expireDiff" form:"expireDiff"` TrafficDiff int `json:"trafficDiff" form:"trafficDiff"` TgBotEnable bool `json:"tgBotEnable" form:"tgBotEnable"` -- cgit v1.2.3