diff options
author | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-03 13:02:46 +0100 |
---|---|---|
committer | Birte Kristina Friesel <derf@finalrewind.org> | 2023-12-03 13:02:46 +0100 |
commit | ab84d645db2aaba81e06f77c4f31a29147893022 (patch) | |
tree | 7959c050e5357a472de04b1be40c659709be5f03 /public/static/js | |
parent | 0e5fb307845269321c6dec98f3a98513259700e1 (diff) |
set samesite attribute for cookies
Diffstat (limited to 'public/static/js')
-rw-r--r-- | public/static/js/collapse.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/public/static/js/collapse.js b/public/static/js/collapse.js index 9726df6..4c078f0 100644 --- a/public/static/js/collapse.js +++ b/public/static/js/collapse.js @@ -5,7 +5,7 @@ */ function setLang(lang) { - document.cookie = 'lang=' + lang; + document.cookie = 'lang=' + lang + ';SameSite=None;Secure'; location.reload(); } |