We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent aa6601e commit cfbce17Copy full SHA for cfbce17
server/cookie/cookie.go
@@ -38,6 +38,8 @@ func SetSession(gc *gin.Context, sessionID string) {
38
// TODO add ability to sameSite = none / strict from dashboard
39
if !appCookieSecure {
40
gc.SetSameSite(http.SameSiteLaxMode)
41
+ } else {
42
+ gc.SetSameSite(http.SameSiteNoneMode)
43
}
44
// TODO allow configuring from dashboard
45
year := 60 * 60 * 24 * 365
0 commit comments