mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-26 17:23:15 -05:00
Stops caching the AAD token (#10251)
This commit is contained in:
@@ -807,9 +807,6 @@ export class ConnectionManagementService extends Disposable implements IConnecti
|
||||
connection.options['azureAccountToken'] = undefined;
|
||||
return true;
|
||||
}
|
||||
if (connection.options['azureAccountToken']) {
|
||||
return true;
|
||||
}
|
||||
let azureResource = this.getAzureResourceForConnection(connection);
|
||||
let accounts = (await this._accountManagementService.getAccounts()).filter(a => a.key.providerId.startsWith('azure'));
|
||||
if (accounts && accounts.length > 0) {
|
||||
|
||||
Reference in New Issue
Block a user