Skip to content

Commit

Permalink
Removed secure cookie setting
Browse files Browse the repository at this point in the history
  • Loading branch information
aunefyren committed Nov 14, 2023
1 parent 1e09a8d commit adcea09
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion web/js/functions.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit adcea09

Please sign in to comment.