feat: custom cookie age

This commit is contained in:
Stavros
2025-01-25 15:29:17 +02:00
parent 2c7144937a
commit cc480085c5
3 changed files with 5 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ type Config struct {
GenericUserURL string `mapstructure:"generic-user-info-url"`
DisableContinue bool `mapstructure:"disable-continue"`
Whitelist string `mapstructure:"whitelist"`
CookieExpiry int `mapstructure:"cookie-expiry"`
}
type UserContext struct {
@@ -53,6 +54,7 @@ type APIConfig struct {
Secret string
AppURL string
CookieSecure bool
CookieExpiry int
DisableContinue bool
}