satellite/console: enable session timeout by default
This change causes the session inactivity timer to be enabled unless expressly specified otherwise. Change-Id: I85b4014394afac2feb21f383cac414cddb09ca8f
This commit is contained in:
parent
776f1128b3
commit
e339f1a785
@ -190,7 +190,7 @@ type SingleCaptchaConfig struct {
|
||||
|
||||
// SessionConfig contains configurations for session management.
|
||||
type SessionConfig struct {
|
||||
InactivityTimerEnabled bool `help:"indicates if session can be timed out due inactivity" default:"false"`
|
||||
InactivityTimerEnabled bool `help:"indicates if session can be timed out due inactivity" default:"true"`
|
||||
InactivityTimerDuration int `help:"inactivity timer delay in seconds" default:"600"`
|
||||
InactivityTimerViewerEnabled bool `help:"indicates whether remaining session time is shown for debugging" default:"false"`
|
||||
Duration time.Duration `help:"duration a session is valid for (superseded by inactivity timer delay if inactivity timer is enabled)" default:"168h"`
|
||||
|
2
scripts/testdata/satellite-config.yaml.lock
vendored
2
scripts/testdata/satellite-config.yaml.lock
vendored
@ -290,7 +290,7 @@ compensation.withheld-percents: 75,75,75,50,50,50,25,25,25,0,0,0,0,0,0
|
||||
# console.session.inactivity-timer-duration: 600
|
||||
|
||||
# indicates if session can be timed out due inactivity
|
||||
# console.session.inactivity-timer-enabled: false
|
||||
# console.session.inactivity-timer-enabled: true
|
||||
|
||||
# indicates whether remaining session time is shown for debugging
|
||||
# console.session.inactivity-timer-viewer-enabled: false
|
||||
|
Loading…
Reference in New Issue
Block a user