From e63450a5125436807e38864413ef8e9c81b9c698 Mon Sep 17 00:00:00 2001 From: Jesse <34263365+AmIJesse@users.noreply.github.com> Date: Thu, 11 Jul 2024 19:43:04 +0000 Subject: [PATCH 1/4] Update index.js to include X-Sl-Allowcookies header --- src/background/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/background/index.js b/src/background/index.js index bb982b0..733eb0b 100644 --- a/src/background/index.js +++ b/src/background/index.js @@ -33,6 +33,7 @@ async function handleExtensionSetup() { method: "POST", headers: { "Content-Type": "application/json", + "X-Sl-Allowcookies": true, }, body: JSON.stringify({ device: Utils.getDeviceName(), From 2b5757b87d951bac423d35968e4cae8d17231097 Mon Sep 17 00:00:00 2001 From: Jesse <34263365+AmIJesse@users.noreply.github.com> Date: Thu, 11 Jul 2024 19:45:03 +0000 Subject: [PATCH 2/4] Update SplashScreen.vue to include X-Sl-Allowcookies header --- src/popup/components/SplashScreen.vue | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/popup/components/SplashScreen.vue b/src/popup/components/SplashScreen.vue index fbdf06f..c696eec 100644 --- a/src/popup/components/SplashScreen.vue +++ b/src/popup/components/SplashScreen.vue @@ -42,6 +42,9 @@ export default { method: "POST", body: JSON.stringify({ device: Utils.getDeviceName(), + }, + headers: { + "X-Sl-Allowcookies": true, }), }); From ece581165ad7206aecc0fd24efc5f0ff1059f29f Mon Sep 17 00:00:00 2001 From: Jesse <34263365+AmIJesse@users.noreply.github.com> Date: Thu, 11 Jul 2024 20:09:07 +0000 Subject: [PATCH 3/4] Fix nesting in the wrong bracket on previous commit. Oops. --- src/popup/components/SplashScreen.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/popup/components/SplashScreen.vue b/src/popup/components/SplashScreen.vue index c696eec..cd35e48 100644 --- a/src/popup/components/SplashScreen.vue +++ b/src/popup/components/SplashScreen.vue @@ -42,10 +42,10 @@ export default { method: "POST", body: JSON.stringify({ device: Utils.getDeviceName(), - }, + }), headers: { "X-Sl-Allowcookies": true, - }), + }, }); if (res.ok) { From d747dce691c784118bb7aae778d2769d3aeb4f14 Mon Sep 17 00:00:00 2001 From: Jesse <34263365+AmIJesse@users.noreply.github.com> Date: Thu, 11 Jul 2024 20:13:47 +0000 Subject: [PATCH 4/4] Update package.json version --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1f50838..add2f96 100644 --- a/package.json +++ b/package.json @@ -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" } -} \ No newline at end of file +}