mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-01-19 09:35:36 -05:00
Skip fetching access token when opening context menu in OE (#21557)
This commit is contained in:
@@ -70,7 +70,8 @@ export class ServerTreeActionProvider {
|
||||
*/
|
||||
private getConnectionActions(tree: AsyncServerTree | ITree, profile: ConnectionProfile): IAction[] {
|
||||
let node = new TreeNode(NodeType.Server, NodeType.Server, '', false, '', '', '', undefined, undefined, undefined, undefined);
|
||||
this._connectionManagementService.addSavedPassword(profile);
|
||||
// Only update password and not access tokens to avoid login prompts when opening context menu.
|
||||
this._connectionManagementService.addSavedPassword(profile, true);
|
||||
node.connection = profile;
|
||||
return this.getAllActions({
|
||||
tree: tree,
|
||||
|
||||
Reference in New Issue
Block a user