π A self-hostable personal dashboard built for you. Includes status-checking, widgets, themes, icon packs, a UI editor and tons more!
Vue awesomedashboarddockerhomelabhomepagemitnodejsorganizationproductivitypwaself-hostedstartpagevue
:lock: Adds password verify check to cloud sync
Alicia Sykesaa89a5b27e6f
diff --git a/src/components/Configuration/CloudBackupRestore.vue b/src/components/Configuration/CloudBackupRestore.vueindex 36b00f8d..9703d534 100644--- a/src/components/Configuration/CloudBackupRestore.vue+++ b/src/components/Configuration/CloudBackupRestore.vue@@ -96,7 +96,9 @@ export default {},checkPass() {const savedHash = localStorage[localStorageKeys.BACKUP_HASH] || undefined;- if (!savedHash) {+ if (!this.backupPassword) {+ this.showErrorMsg(this.$t('cloud-sync.backup-missing-password'));+ } else if (!savedHash) {this.makeBackup();} else if (savedHash === this.makeHash(this.backupPassword)) {this.makeUpdate();