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

Commit

Permalink
Make default session duration 20h (#578)
Browse files Browse the repository at this point in the history
  • Loading branch information
sethvargo authored Sep 18, 2020
1 parent c7a060d commit 3ae74d7
Showing 1 changed file with 1 addition and 1 deletion.
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

0 comments on commit 3ae74d7

Please sign in to comment.