Skip to content

Commit

Permalink
refactor(middleware/session): Remove unnecessary comment about negati…
Browse files Browse the repository at this point in the history
…ve IdleTimeout value
  • Loading branch information
sixcolors committed Sep 20, 2024
1 parent 9d3b032 commit 9762767
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions middleware/session/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ type Config struct {

// IdleTimeout defines the maximum duration of inactivity before the session expires.
//
// If set to a negative value, the session will never expire.
// Use this cautiously as it may lead to security issues.
//
// Note: The idle timeout is updated on each `Save()` call. If a middleware handler is used, `Save()` is called automatically.
//
// Optional. Default: 30 * time.Minute
Expand Down

0 comments on commit 9762767

Please sign in to comment.