From ec3676e63258318e58c4f48c43b7baa7f6f90097 Mon Sep 17 00:00:00 2001
From: Matthieu Marcillaud <marcimat@rezo.net>
Date: Sun, 25 Apr 2021 19:46:15 +0200
Subject: [PATCH] =?UTF-8?q?Ce=20cookie=20n'est=20utilis=C3=A9=20qu'en=20JS?=
 =?UTF-8?q?.=20Et=20Cookies.set=20ne=20d=C3=A9finit=20pas=20d'attribut=20S?=
 =?UTF-8?q?ameSite=20par=20d=C3=A9faut,=20ce=20qui=20fait=20raler=20les=20?=
 =?UTF-8?q?navigateurs.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 javascript/gestion_listes_documents.js.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/javascript/gestion_listes_documents.js.html b/javascript/gestion_listes_documents.js.html
index 83a433a5..e71bf336 100644
--- a/javascript/gestion_listes_documents.js.html
+++ b/javascript/gestion_listes_documents.js.html
@@ -36,7 +36,7 @@ function choix_affichages_documents() {
 				liste.addClass(classe);
 			}
 			if (identifiant) {
-				Cookies.set('affichage-' + identifiant, bouton);
+				Cookies.set('affichage-' + identifiant, bouton, {SameSite: 'Strict'});
 			}
 
 			liste.trigger('affichage.documents.change', {
-- 
GitLab