summaryrefslogtreecommitdiff
path: root/config/config.go
diff options
context:
space:
mode:
authorGrailFinder <wohilas@gmail.com>2024-05-05 08:57:23 +0300
committerGrailFinder <wohilas@gmail.com>2024-05-05 08:57:23 +0300
commitff86222fc9ab85fb4c5c5e8a063083595b323761 (patch)
tree01dbec5503bfabc21af93acdbfe3d1000e2386a0 /config/config.go
parent8d66ec58e2256412a2fd50ad9e651c09af1ea8cc (diff)
Enha: protected cookies
Diffstat (limited to 'config/config.go')
-rw-r--r--config/config.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/config.go b/config/config.go
index e2225d8..36b61a8 100644
--- a/config/config.go
+++ b/config/config.go
@@ -12,6 +12,7 @@ type Config struct {
BaseURL string `mapstructure:"BASE_URL"`
SessionLifetime int `mapstructure:"SESSION_LIFETIME_SECONDS"`
DBURI string `mapstructure:"DBURI"`
+ CookieSecret string `mapstructure:"COOKIE_SECRET"`
}
type ServerConfig struct {