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", 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() {