mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-06-28 06:46:27 +00:00
Comments for #537
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user