12666 Passed azureAccount into onFetchDatabases and set on tempProfile. (#13239)

This commit is contained in:
Justin M
2020-11-16 11:24:22 -08:00
committed by GitHub
parent b57bf53b67
commit c18a54bc1d
4 changed files with 8 additions and 5 deletions

View File

@@ -88,6 +88,8 @@ export class ConnectionStore {
}
return { profile: credentialsItem, savedCred: !!savedCred };
});
} else if (credentialsItem.authenticationType === 'AzureMFA' && credentialsItem.azureAccount) {
return Promise.resolve({ profile: credentialsItem, savedCred: true });
} else {
// No need to look up the password
return Promise.resolve({ profile: credentialsItem, savedCred: credentialsItem.savePassword });