mirror of
https://github.com/Microsoft/vscode
synced 2024-09-13 13:46:13 +00:00
delete extra afterTokenLoad
This commit is contained in:
parent
c935e2292f
commit
a8332b75e4
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue