mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-23 18:19:12 +01:00
delete extra afterTokenLoad
This commit is contained in:
@@ -142,7 +142,6 @@ export class GitHubAuthenticationProvider implements vscode.AuthenticationProvid
|
||||
if (!session.account) {
|
||||
try {
|
||||
userInfo = await this._githubServer.getUserInfo(session.accessToken);
|
||||
setTimeout(() => this.afterTokenLoad(session.accessToken), 1000);
|
||||
Logger.info(`Verified session with the following scopes: ${session.scopes}`);
|
||||
} catch (e) {
|
||||
// Remove sessions that return unauthorized response
|
||||
|
||||
Reference in New Issue
Block a user