From a43eff0749d7886d150b24c892124a14ea5dba42 Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Fri, 18 Sep 2020 12:32:09 -0400 Subject: [PATCH] Make default session duration 20h --- pkg/config/server_config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/config/server_config.go b/pkg/config/server_config.go index 872ee627f..b2f1cb940 100644 --- a/pkg/config/server_config.go +++ b/pkg/config/server_config.go @@ -41,7 +41,7 @@ type ServerConfig struct { Port string `env:"PORT,default=8080"` // Login Config - SessionDuration time.Duration `env:"SESSION_DURATION,default=24h"` + SessionDuration time.Duration `env:"SESSION_DURATION, default=20h"` RevokeCheckPeriod time.Duration `env:"REVOKE_CHECK_DURATION,default=5m"` // CookieKeys is a slice of bytes. The first is 64 bytes, the second is 32.