Skip to content

Commit e339f1a

Browse files
jewhartonStorj Robot
authored andcommitted
satellite/console: enable session timeout by default
This change causes the session inactivity timer to be enabled unless expressly specified otherwise. Change-Id: I85b4014394afac2feb21f383cac414cddb09ca8f
1 parent 776f112 commit e339f1a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

satellite/console/service.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ type SingleCaptchaConfig struct {
190190

191191
// SessionConfig contains configurations for session management.
192192
type SessionConfig struct {
193-
InactivityTimerEnabled bool `help:"indicates if session can be timed out due inactivity" default:"false"`
193+
InactivityTimerEnabled bool `help:"indicates if session can be timed out due inactivity" default:"true"`
194194
InactivityTimerDuration int `help:"inactivity timer delay in seconds" default:"600"`
195195
InactivityTimerViewerEnabled bool `help:"indicates whether remaining session time is shown for debugging" default:"false"`
196196
Duration time.Duration `help:"duration a session is valid for (superseded by inactivity timer delay if inactivity timer is enabled)" default:"168h"`

scripts/testdata/satellite-config.yaml.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ compensation.withheld-percents: 75,75,75,50,50,50,25,25,25,0,0,0,0,0,0
290290
# console.session.inactivity-timer-duration: 600
291291

292292
# indicates if session can be timed out due inactivity
293-
# console.session.inactivity-timer-enabled: false
293+
# console.session.inactivity-timer-enabled: true
294294

295295
# indicates whether remaining session time is shown for debugging
296296
# console.session.inactivity-timer-viewer-enabled: false

0 commit comments

Comments
 (0)