Add dstsAuth as option for saved credential in connectionStore.ts (#14332)

This commit is contained in:
Justin M
2021-02-18 10:30:02 -08:00
committed by GitHub
parent b719099ad3
commit aff9adf730

View File

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