core/config: remove cookie secure option (#4907)

This commit is contained in:
Caleb Doxsey 2024-01-12 13:28:14 -07:00 committed by GitHub
parent d5b4910951
commit f684910ab3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 431 additions and 452 deletions

View file

@ -117,7 +117,7 @@ func newAuthenticateStateFromConfig(
return cookie.Options{
Name: cfg.Options.CookieName + "_authenticate",
Domain: cfg.Options.CookieDomain,
Secure: cfg.Options.CookieSecure,
Secure: true,
HTTPOnly: cfg.Options.CookieHTTPOnly,
Expire: cfg.Options.CookieExpire,
SameSite: cfg.Options.GetCookieSameSite(),