Skip to content

Commit 50ec48c

Browse files
committed
hide set password page after setting password
no enter blank password
1 parent 6a3ee5e commit 50ec48c

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

schema-chrome.json

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,6 @@
1616
"description": "If set to true, then export buttons will be hidden.",
1717
"type": "boolean"
1818
},
19-
"disablePasswordCaching": {
20-
"title": "Disable password caching",
21-
"description": "If set to true, then Authenticator will never cache encryption password in the background. Normally the password is stored for as long as the browser is open, this will make Authenticator prompt for password on every open. WARNING: This will break everything that changes data with background services (E.g.: QR scanning and import page).",
22-
"type": "boolean"
23-
},
2419
"storageArea": {
2520
"title": "Storage area",
2621
"description": "Set to 'sync' or 'local'. If set will force user to use specified storage area. This setting will not check if a user is currently using another storage space and may hide data.",

src/components/Popup/SetPasswordPage.vue

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,18 @@ export default Vue.extend({
3333
return;
3434
},
3535
async changePassphrase() {
36+
if (this.phrase === "") {
37+
return;
38+
}
39+
3640
if (this.phrase !== this.confirm) {
3741
this.$store.commit("notification/alert", this.i18n.phrase_not_match);
3842
return;
3943
}
4044
4145
await this.$store.dispatch("accounts/changePassphrase", this.phrase);
4246
this.$store.commit("notification/alert", this.i18n.updateSuccess);
47+
this.$store.commit("style/hideInfo");
4348
return;
4449
}
4550
}

0 commit comments

Comments
 (0)