summaryrefslogtreecommitdiff
path: root/public/js/locale.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/js/locale.js')
-rw-r--r--public/js/locale.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/public/js/locale.js b/public/js/locale.js
index 71c0f99f..670370d4 100644
--- a/public/js/locale.js
+++ b/public/js/locale.js
@@ -25,7 +25,8 @@ $('select.ui-locale option[value="' + lang + '"]').attr('selected', 'selected')
locale.change(function () {
Cookies.set('locale', $(this).val(), {
- expires: 365
+ expires: 365,
+ sameSite: 'strict'
})
window.location.reload()
})