mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-10 15:08:28 +03:00
Comments for #537
This commit is contained in:
parent
a52881fb67
commit
565ef41eba
1 changed files with 3 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue