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

View File

@@ -2179,7 +2179,7 @@ async function importApp(app, data, auditSource) {
await mounts.tryAddMount(mountObject, { timeout: 10 });
}
error = await backups.testProviderConfig(backupConfig);
error = await backups.testConfig(backupConfig);
if (error) throw error;
if ('password' in backupConfig) {