mirror of
https://github.com/pomerium/pomerium.git
synced 2025-06-30 08:28:20 +02:00
authenticate: save the session cookie with a different name (#3978)
This commit is contained in:
parent
3eaa60948c
commit
678bae20b5
1 changed files with 1 additions and 1 deletions
|
@ -96,7 +96,7 @@ func newAuthenticateStateFromConfig(cfg *config.Config) (*authenticateState, err
|
||||||
|
|
||||||
cookieStore, err := cookie.NewStore(func() cookie.Options {
|
cookieStore, err := cookie.NewStore(func() cookie.Options {
|
||||||
return cookie.Options{
|
return cookie.Options{
|
||||||
Name: cfg.Options.CookieName,
|
Name: cfg.Options.CookieName + "_authenticate",
|
||||||
Domain: cfg.Options.CookieDomain,
|
Domain: cfg.Options.CookieDomain,
|
||||||
Secure: cfg.Options.CookieSecure,
|
Secure: cfg.Options.CookieSecure,
|
||||||
HTTPOnly: cfg.Options.CookieHTTPOnly,
|
HTTPOnly: cfg.Options.CookieHTTPOnly,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue