From 29adc517ab528880fd249e85bb67a8a79ebfb815 Mon Sep 17 00:00:00 2001 From: KushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com> Date: Mon, 11 Oct 2021 10:46:06 -0300 Subject: samesite=strict to make cookies work hopefully --- static/js/themes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'static/js') diff --git a/static/js/themes.js b/static/js/themes.js index 1d89e60..ccdd277 100644 --- a/static/js/themes.js +++ b/static/js/themes.js @@ -1,5 +1,5 @@ function setCookie(key, value, age) { - document.cookie = key + "=" + encodeURIComponent(value) + ";sameSite=none;max-age=" + (60 * 60 * 24 * age) + ";path=/"; + document.cookie = key + "=" + encodeURIComponent(value) + ";sameSite=strict;max-age=" + (60 * 60 * 24 * age) + ";path=/"; } function getCookie(key) { -- cgit v1.2.3