Skip to content

Commit

Permalink
Merge pull request #216 from AmIJesse/master
Browse files Browse the repository at this point in the history
Include X-Sl-Allowcookies headers for onboarding
  • Loading branch information
acasajus committed Jul 12, 2024
2 parents a4fefbd + d747dce commit 9f47898
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "simplelogin-extension",
"version": "3.0.4",
"version": "3.0.5",
"betaRev": "0",
"description": "SimpleLogin Browser Extension",
"author": "[email protected]",
Expand Down Expand Up @@ -62,4 +62,4 @@
"webpack": "^4.46.0",
"webpack-cli": "^4.9.2"
}
}
}
1 change: 1 addition & 0 deletions src/background/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ async function handleExtensionSetup() {
method: "POST",
headers: {
"Content-Type": "application/json",
"X-Sl-Allowcookies": true,
},
body: JSON.stringify({
device: Utils.getDeviceName(),
Expand Down
3 changes: 3 additions & 0 deletions src/popup/components/SplashScreen.vue
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ export default {
body: JSON.stringify({
device: Utils.getDeviceName(),
}),
headers: {
"X-Sl-Allowcookies": true,
},
});
if (res.ok) {
Expand Down

0 comments on commit 9f47898

Please sign in to comment.