mirror of
https://github.com/the-djmaze/snappymail.git
synced 2024-09-20 07:35:55 +08:00
Comments for #537
This commit is contained in:
parent
a52881fb67
commit
565ef41eba
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue