Merge pull request #216 from AmIJesse/master
Include X-Sl-Allowcookies headers for onboarding
This commit is contained in:
+2
-2
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "simplelogin-extension",
|
"name": "simplelogin-extension",
|
||||||
"version": "3.0.4",
|
"version": "3.0.5",
|
||||||
"betaRev": "0",
|
"betaRev": "0",
|
||||||
"description": "SimpleLogin Browser Extension",
|
"description": "SimpleLogin Browser Extension",
|
||||||
"author": "extension@simplelogin.io",
|
"author": "extension@simplelogin.io",
|
||||||
@@ -62,4 +62,4 @@
|
|||||||
"webpack": "^4.46.0",
|
"webpack": "^4.46.0",
|
||||||
"webpack-cli": "^4.9.2"
|
"webpack-cli": "^4.9.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -33,6 +33,7 @@ async function handleExtensionSetup() {
|
|||||||
method: "POST",
|
method: "POST",
|
||||||
headers: {
|
headers: {
|
||||||
"Content-Type": "application/json",
|
"Content-Type": "application/json",
|
||||||
|
"X-Sl-Allowcookies": true,
|
||||||
},
|
},
|
||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
device: Utils.getDeviceName(),
|
device: Utils.getDeviceName(),
|
||||||
|
|||||||
@@ -43,6 +43,9 @@ export default {
|
|||||||
body: JSON.stringify({
|
body: JSON.stringify({
|
||||||
device: Utils.getDeviceName(),
|
device: Utils.getDeviceName(),
|
||||||
}),
|
}),
|
||||||
|
headers: {
|
||||||
|
"X-Sl-Allowcookies": true,
|
||||||
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
if (res.ok) {
|
if (res.ok) {
|
||||||
|
|||||||
Reference in New Issue
Block a user