From cf71a636577a58513202735be36a10e13dc4456a Mon Sep 17 00:00:00 2001 From: Zhe Li Date: Fri, 23 Aug 2024 09:26:17 +0800 Subject: [PATCH] v8.0.1 (#1272) * fix issue in translations * fix add account issue (#1264) * v8.0.1 (#1270) --------- Co-authored-by: Brendan Early --- _locales/lv/messages.json | 2 +- manifests/manifest-chrome.json | 2 +- manifests/manifest-edge.json | 2 +- manifests/manifest-firefox.json | 2 +- src/components/Popup/AddAccountPage.vue | 7 ++++++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/_locales/lv/messages.json b/_locales/lv/messages.json index ece15f35..3e17c461 100644 --- a/_locales/lv/messages.json +++ b/_locales/lv/messages.json @@ -8,7 +8,7 @@ "description": "Extension Short Name." }, "extDesc": { - "message": "Divpakāpju kodu ģenerators atvieglo darbu ar 2FA (divpakāpju) autentifikācijas kodu izveidošanu un aizpildīšanu jūsu pārlūkprogrammā.", + "message": "Divpakāpju kodu ģenerators atvieglo darbu ar 2FA (divpakāpju) autentifikācijas kodu izveidošanu un aizpildīšanu jūsu pārlūkprogrammā", "description": "Extension Description." }, "added": { diff --git a/manifests/manifest-chrome.json b/manifests/manifest-chrome.json index 988ca52f..47601baa 100644 --- a/manifests/manifest-chrome.json +++ b/manifests/manifest-chrome.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "__MSG_extName__", "short_name": "__MSG_extShortName__", - "version": "8.0.0", + "version": "8.0.1", "default_locale": "en", "description": "__MSG_extDesc__", "icons": { diff --git a/manifests/manifest-edge.json b/manifests/manifest-edge.json index 18b912da..a91ee67f 100644 --- a/manifests/manifest-edge.json +++ b/manifests/manifest-edge.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Authenticator: 2FA Client", - "version": "8.0.0", + "version": "8.0.1", "default_locale": "en", "description": "__MSG_extDesc__", "icons": { diff --git a/manifests/manifest-firefox.json b/manifests/manifest-firefox.json index 075bf5a4..9b8da2e8 100644 --- a/manifests/manifest-firefox.json +++ b/manifests/manifest-firefox.json @@ -2,7 +2,7 @@ "manifest_version": 3, "name": "__MSG_extName__", "short_name": "__MSG_extShortName__", - "version": "8.0.0", + "version": "8.0.1", "default_locale": "en", "description": "__MSG_extDesc__", "browser_specific_settings": { diff --git a/src/components/Popup/AddAccountPage.vue b/src/components/Popup/AddAccountPage.vue index 371db9d8..20e82e9b 100644 --- a/src/components/Popup/AddAccountPage.vue +++ b/src/components/Popup/AddAccountPage.vue @@ -115,6 +115,11 @@ export default Vue.extend({ this.newAccount.period = undefined; } + const defaultEncyptionKey = this.$store.state.accounts.defaultEncryption; + const encryption = this.$store.state.accounts.encryption[ + defaultEncyptionKey + ]; + const entry = new OTPEntry( { type, @@ -128,7 +133,7 @@ export default Vue.extend({ digits: this.newAccount.digits, algorithm: this.newAccount.algorithm, }, - this.$store.state.accounts.encryption + encryption ); await entry.create();