Skip to content

Commit

Permalink
Merge pull request #877 from isucon/fix-session-option-same-site
Browse files Browse the repository at this point in the history
fix session options
  • Loading branch information
catatsuy authored Oct 12, 2024
2 parents 129ab9b + b37f2fa commit d81fd29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webapp/go/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ func init() {
Options: &sessions.Options{
Path: "/",
MaxAge: 86400 * 30,
SameSite: http.SameSiteNoneMode,
HttpOnly: true,
},
}
cs.MaxAge(cs.Options.MaxAge)
Expand Down

0 comments on commit d81fd29

Please sign in to comment.