Merge pull request #2555 from luisramos0/cookie_http_only

Added httponly to cookieConsent cookie, this makes this cookie secure…
This commit is contained in:
Maikel
2018-08-24 15:50:13 +10:00
committed by GitHub

View File

@@ -18,7 +18,8 @@ class CookiesConsent
cookies[COOKIE_NAME] = {
value: COOKIE_NAME,
expires: 1.year.from_now,
domain: domain
domain: domain,
httponly: true
}
end