Skip to content

Commit

Permalink
authenticate: save the session cookie with a different name
Browse files Browse the repository at this point in the history
  • Loading branch information
calebdoxsey committed Feb 15, 2023
1 parent f2a5bda commit 2285da1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authenticate/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func newAuthenticateStateFromConfig(cfg *config.Config) (*authenticateState, err

cookieStore, err := cookie.NewStore(func() cookie.Options {
return cookie.Options{
Name: cfg.Options.CookieName,
Name: cfg.Options.CookieName + "_authenticate",
Domain: cfg.Options.CookieDomain,
Secure: cfg.Options.CookieSecure,
HTTPOnly: cfg.Options.CookieHTTPOnly,
Expand Down

0 comments on commit 2285da1

Please sign in to comment.