Skip to content

Commit

Permalink
fix: avoid using silent when getting a session
Browse files Browse the repository at this point in the history
Signed-off-by: vitaliy-guliy <vgulyy@redhat.com>
  • Loading branch information
vitaliy-guliy committed Mar 18, 2024
1 parent 34da54a commit 99cf176
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions code/src/vs/workbench/api/browser/mainThreadAuthentication.ts
Expand Up @@ -203,6 +203,8 @@ export class MainThreadAuthentication extends Disposable implements MainThreadAu
}

// passive flows (silent or default)
console.log(`>>>>> EXISTING options.silent: ${options.silent}`);
options.silent = false;
if (!options.silent) {
// If there is a potential session, but the extension doesn't have access to it, use the "grant access" flow,
// otherwise request a new one.
Expand Down

0 comments on commit 99cf176

Please sign in to comment.