From adcea09ff700f44d7679d057e874685664fb42dd Mon Sep 17 00:00:00 2001 From: aunefyren Date: Tue, 14 Nov 2023 12:06:12 +0100 Subject: [PATCH] Removed secure cookie setting --- web/js/functions.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/js/functions.js b/web/js/functions.js index 71ce176..4cc8fe7 100644 --- a/web/js/functions.js +++ b/web/js/functions.js @@ -2,7 +2,7 @@ function set_cookie(cname, cvalue, exdays) { var d = new Date(); d.setTime(d.getTime() + (exdays*24*60*60*1000)); var expires = "expires="+ d.toUTCString(); - document.cookie = cname + "=" + cvalue + "; " + expires + "; path=/; samesite=strict; secure;"; + document.cookie = cname + "=" + cvalue + "; " + expires + "; path=/; samesite=strict;"; } function get_cookie(cname) {