mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-04-05 07:19:14 +00:00
Merge pull request #2555 from luisramos0/cookie_http_only
Added httponly to cookieConsent cookie, this makes this cookie secure…
This commit is contained in:
@@ -18,7 +18,8 @@ class CookiesConsent
|
||||
cookies[COOKIE_NAME] = {
|
||||
value: COOKIE_NAME,
|
||||
expires: 1.year.from_now,
|
||||
domain: domain
|
||||
domain: domain,
|
||||
httponly: true
|
||||
}
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user