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 (
|
||||
"fmt"
|
||||
"math"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"os"
|
||||
"strconv"
|
||||
|
@ -31,7 +30,6 @@ func (a *Application) getStore(p api.ProxyOutpostConfig, externalHost *url.URL)
|
|||
}
|
||||
rs.Options.Path = externalHost.Path
|
||||
rs.Options.Domain = *p.CookieDomain
|
||||
rs.Options.SameSite = http.SameSiteNoneMode
|
||||
a.log.Trace("using redis session backend")
|
||||
store = rs
|
||||
} else {
|
||||
|
@ -53,7 +51,6 @@ func (a *Application) getStore(p api.ProxyOutpostConfig, externalHost *url.URL)
|
|||
}
|
||||
cs.Options.Path = externalHost.Path
|
||||
cs.Options.Domain = *p.CookieDomain
|
||||
cs.Options.SameSite = http.SameSiteNoneMode
|
||||
a.log.WithField("dir", dir).Trace("using filesystem session backend")
|
||||
store = cs
|
||||
}
|
||||
|
|
Reference in New Issue