Revert "internal: set SameSite for outpost"
This reverts commit 7e95c756b9
.
This commit is contained in:
parent
233bb35ebe
commit
ebb44c992b
|
@ -3,7 +3,6 @@ package application
|
||||||
import (
|
import (
|
||||||
"fmt"
|
"fmt"
|
||||||
"math"
|
"math"
|
||||||
"net/http"
|
|
||||||
"net/url"
|
"net/url"
|
||||||
"os"
|
"os"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
@ -31,7 +30,6 @@ func (a *Application) getStore(p api.ProxyOutpostConfig, externalHost *url.URL)
|
||||||
}
|
}
|
||||||
rs.Options.Path = externalHost.Path
|
rs.Options.Path = externalHost.Path
|
||||||
rs.Options.Domain = *p.CookieDomain
|
rs.Options.Domain = *p.CookieDomain
|
||||||
rs.Options.SameSite = http.SameSiteNoneMode
|
|
||||||
a.log.Trace("using redis session backend")
|
a.log.Trace("using redis session backend")
|
||||||
store = rs
|
store = rs
|
||||||
} else {
|
} else {
|
||||||
|
@ -53,7 +51,6 @@ func (a *Application) getStore(p api.ProxyOutpostConfig, externalHost *url.URL)
|
||||||
}
|
}
|
||||||
cs.Options.Path = externalHost.Path
|
cs.Options.Path = externalHost.Path
|
||||||
cs.Options.Domain = *p.CookieDomain
|
cs.Options.Domain = *p.CookieDomain
|
||||||
cs.Options.SameSite = http.SameSiteNoneMode
|
|
||||||
a.log.WithField("dir", dir).Trace("using filesystem session backend")
|
a.log.WithField("dir", dir).Trace("using filesystem session backend")
|
||||||
store = cs
|
store = cs
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue