validate encryption password separately
This commit is contained in:
+1
-1
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user