mirror of
https://github.com/aunefyren/wrapperr
synced 2025-01-09 16:28:43 +00:00
Removed secure cookie setting
This commit is contained in:
parent
1e09a8d12b
commit
adcea09ff7
1 changed files with 1 additions and 1 deletions
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue