Skip to content

Commit

Permalink
Fix duplicate cookies when using file system store.
Browse files Browse the repository at this point in the history
  • Loading branch information
thijsa authored and BeryJu committed Nov 13, 2023
1 parent 0e019e1 commit c79e8e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/outpost/proxyv2/application/session.go
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ func (a *Application) getStore(p api.ProxyOutpostConfig, externalHost *url.URL)
cs.Options.Domain = *p.CookieDomain
cs.Options.SameSite = http.SameSiteLaxMode
cs.Options.MaxAge = maxAge
cs.Options.Path = externalHost.Path
cs.Options.Path = "/"
a.log.WithField("dir", dir).Trace("using filesystem session backend")
return cs
}
Expand Down

0 comments on commit c79e8e9

Please sign in to comment.