Revert "outpost/proxy: set samesite none"

This reverts commit f7afb60c1f.
This commit is contained in:
Jens Langhammer 2021-09-08 22:56:24 +02:00
parent 0a33d38adf
commit 8ca29f6d49
1 changed files with 0 additions and 3 deletions

View File

@ -2,7 +2,6 @@ package application
import (
"fmt"
"net/http"
"strconv"
"github.com/gorilla/sessions"
@ -19,12 +18,10 @@ func GetStore(p api.ProxyOutpostConfig) sessions.Store {
panic(err)
}
rs.Options.Domain = *p.CookieDomain
rs.Options.SameSite = http.SameSiteNoneMode
store = rs
} else {
cs := sessions.NewCookieStore([]byte(*p.CookieSecret))
cs.Options.Domain = *p.CookieDomain
cs.Options.SameSite = http.SameSiteNoneMode
store = cs
}
return store