mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-07-13 03:27:39 +03:00
Comments for #537
This commit is contained in:
parent
a52881fb67
commit
565ef41eba
1 changed files with 3 additions and 1 deletions
|
|
@ -37,6 +37,8 @@ try {
|
||||||
smctoken = encodeURIComponent(btoa(String.fromCharCode(...data)));
|
smctoken = encodeURIComponent(btoa(String.fromCharCode(...data)));
|
||||||
}
|
}
|
||||||
localStorage.setItem('smctoken', smctoken);
|
localStorage.setItem('smctoken', smctoken);
|
||||||
|
// 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";
|
doc.cookie = 'smctoken='+smctoken+";path=/;samesite=strict";
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e);
|
console.error(e);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue