validate encryption password separately

This commit is contained in:
Girish Ramakrishnan
2023-07-13 12:42:38 +05:30
parent 95314d46e2
commit 68e56f903d
4 changed files with 9 additions and 15 deletions
+1 -1
View File
@@ -219,7 +219,7 @@ async function restore(backupConfig, remotePath, version, sysinfoConfig, options
await safe(mounts.tryAddMount(newMount, { timeout: 10 })); // 10 seconds
}
let error = await backups.testProviderConfig(backupConfig);
let error = await backups.testConfig(backupConfig);
if (error) throw error;
if ('password' in backupConfig) {