mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
Add dstsAuth as option for saved credential in connectionStore.ts (#14332)
This commit is contained in:
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user