Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2023-04-25 14:30:21 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2023-04-25 14:30:21 +0300
commit942b9862d8fe2b2c659d63a8f6c5bc24e476e6b0 (patch)
tree84de5f0faf4bbbd4596506ca0b5c9616056e3ba2 /web/entity/entity.go
parentae55fdc38a3be89d2b02bca263e1e74b317c640c (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.go1
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"`