Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
komuw committed Jun 18, 2024
1 parent dd9fe7b commit ad02b65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -663,7 +663,7 @@ type middlewareOpts struct {

// session
SessionCookieDuration time.Duration
SessionAntiReplayFunc func(r http.Request) string
SessionAntiReplayFunc func(r http.Request) string // Does NOT take a pointer to http.Request for security reasons.
}

// String implements [fmt.Stringer]
Expand Down

0 comments on commit ad02b65

Please sign in to comment.