From 9163f35eed5e03570a7b98a9b25621547ee1742e Mon Sep 17 00:00:00 2001 From: Sujeeban Thuraisamy Date: Fri, 14 Jun 2019 16:28:21 +0200 Subject: [PATCH 1/2] Masq: bug fix in login link generation --- src/libs/masq.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/libs/masq.js b/src/libs/masq.js index 4a374de07..973b4d7da 100644 --- a/src/libs/masq.js +++ b/src/libs/masq.js @@ -15,7 +15,6 @@ export default class MasqStore { this.storeName = 'masq'; this.masq = null; - this.loginLink = null; this.config = config; this.initPromise = this.init(); @@ -43,7 +42,6 @@ export default class MasqStore { handleError('replicationError', e.detail.message, e.detail); }); this.MasqError = MasqError; - this.loginLink = await this.masq.getLoginLink(); this.initialized = true; } @@ -80,7 +78,7 @@ export default class MasqStore { async login(apps) { await this.checkInit(); // open Masq app window to connect to Masq - this.openLoginPopupWindow(this.loginLink); + this.openLoginPopupWindow(this.masq.loginLink); try { this.masqActivatingModal = new MasqActivatingModal(); @@ -103,7 +101,6 @@ export default class MasqStore { async logout() { await this.checkInit(); await this.masq.signout(); - this.loginLink = await this.masq.getLoginLink(); } async isLoggedIn() { From b3b4eb1a6def74e1a155f5932c78796b5c8e3141 Mon Sep 17 00:00:00 2001 From: Sujeeban Thuraisamy Date: Mon, 17 Jun 2019 11:11:15 +0200 Subject: [PATCH 2/2] Masq: update to v0.14.2 --- package-lock.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package-lock.json b/package-lock.json index 66e5c0dc9..b628704b0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -10436,8 +10436,8 @@ } }, "masq-lib": { - "version": "git+https://github.com/QwantResearch/masq-lib.git#5914749aef5a4f4d4f68ae6d51401ccf10215fe9", - "from": "git+https://github.com/QwantResearch/masq-lib.git#v0.14.1", + "version": "git+https://github.com/QwantResearch/masq-lib.git#045b8e771e89c7527da25b24981770ee9e056a63", + "from": "git+https://github.com/QwantResearch/masq-lib.git#v0.14.2", "dev": true, "requires": { "masq-common": "git+https://github.com/QwantResearch/masq-common.git#v0.10.1",