Comments for #537

This commit is contained in:
the-djmaze 2023-02-02 12:55:06 +01:00
parent a52881fb67
commit 565ef41eba

View file

@ -37,7 +37,9 @@ try {
smctoken = encodeURIComponent(btoa(String.fromCharCode(...data)));
}
localStorage.setItem('smctoken', smctoken);
doc.cookie = 'smctoken='+smctoken+"; path=/; samesite=strict";
// doc.cookie = `smctoken=${smctoken};path=${doc.location.pathname};samesite=strict;secure";
// doc.cookie = 'smctoken='+smctoken+";path=/;samesite=lax";
doc.cookie = 'smctoken='+smctoken+";path=/;samesite=strict";
} catch (e) {
console.error(e);
}