From 136b174ec93551fafad1aead00e6b96ccec1a696 Mon Sep 17 00:00:00 2001 From: sakrecoer Date: Mon, 10 Aug 2020 13:55:23 +0200 Subject: [PATCH] samesite policy for cookie --- _includes/cookie-consent.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_includes/cookie-consent.html b/_includes/cookie-consent.html index af402ed..e212b89 100644 --- a/_includes/cookie-consent.html +++ b/_includes/cookie-consent.html @@ -19,7 +19,7 @@ date.setTime(date.getTime() + (days * 24 * 60 * 60 * 1000)); expires = "; expires=" + date.toUTCString(); } - document.cookie = name + "=" + value + expires + "; path=/"; + document.cookie = name + "=" + value + expires + "; path=/;SameSite=Strict"; } function readCookie(name) { var nameEQ = name + "=";