core/config: remove cookie secure option

This commit is contained in:
Caleb Doxsey 2024-01-12 12:19:05 -07:00
parent c7c2087483
commit 8f65099fa1
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(),