From ff86222fc9ab85fb4c5c5e8a063083595b323761 Mon Sep 17 00:00:00 2001 From: GrailFinder Date: Sun, 5 May 2024 08:57:23 +0300 Subject: Enha: protected cookies --- config/config.go | 1 + 1 file changed, 1 insertion(+) (limited to 'config/config.go') 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 { -- cgit v1.2.3