diff options
| author | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-04-25 14:30:21 +0300 |
|---|---|---|
| committer | MHSanaei <ho3ein.sanaei@gmail.com> | 2023-04-25 14:30:21 +0300 |
| commit | 942b9862d8fe2b2c659d63a8f6c5bc24e476e6b0 (patch) | |
| tree | 84de5f0faf4bbbd4596506ca0b5c9616056e3ba2 /web/entity/entity.go | |
| parent | ae55fdc38a3be89d2b02bca263e1e74b317c640c (diff) | |
[feature] add login session timeout
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/entity/entity.go')
| -rw-r--r-- | web/entity/entity.go | 1 |
1 files changed, 1 insertions, 0 deletions
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"` |
