aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorKushBlazingJudah <59340248+KushBlazingJudah@users.noreply.github.com>2021-10-11 10:46:06 -0300
committerFChannel <>2022-06-19 12:53:29 -0700
commit29adc517ab528880fd249e85bb67a8a79ebfb815 (patch)
treec292cd563ee03317e0c058f0a5747384f763b78c /static
parent438a39d3ad9cc217680b45fbaa61a6a21c163652 (diff)
samesite=strict to make cookies work hopefully
Diffstat (limited to 'static')
-rw-r--r--static/js/themes.js2
1 files changed, 1 insertions, 1 deletions
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) {