Skip to content
This repository has been archived by the owner on Jul 12, 2023. It is now read-only.

Make default session duration 20h #578

Merged
merged 1 commit into from
Sep 18, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/config/server_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down