Merge pull request #216 from AmIJesse/master

Include X-Sl-Allowcookies headers for onboarding
This commit is contained in:
Adrià Casajús
2024-07-12 17:09:01 +02:00
committed by GitHub
3 changed files with 6 additions and 2 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
{
"name": "simplelogin-extension",
"version": "3.0.4",
"version": "3.0.5",
"betaRev": "0",
"description": "SimpleLogin Browser Extension",
"author": "extension@simplelogin.io",
@@ -62,4 +62,4 @@
"webpack": "^4.46.0",
"webpack-cli": "^4.9.2"
}
}
}
+1
View File
@@ -33,6 +33,7 @@ async function handleExtensionSetup() {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Sl-Allowcookies": true,
},
body: JSON.stringify({
device: Utils.getDeviceName(),
+3
View File
@@ -43,6 +43,9 @@ export default {
body: JSON.stringify({
device: Utils.getDeviceName(),
}),
headers: {
"X-Sl-Allowcookies": true,
},
});
if (res.ok) {