Removed secure cookie setting

This commit is contained in:
aunefyren 2023-11-14 12:06:12 +01:00
parent 1e09a8d12b
commit adcea09ff7

View file

@ -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) {