We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9e55819 commit ec9371bCopy full SHA for ec9371b
1 file changed
src/vs/platform/authentication/common/authentication.ts
@@ -46,7 +46,7 @@ export class AuthenticationTokenService extends Disposable implements IAuthentic
46
}
47
48
async setToken(token: IUserDataSyncAuthToken | undefined): Promise<void> {
49
- if (token && this._token ? token.token !== this._token.token && token.authenticationProviderId !== this._token.authenticationProviderId : token !== this._token) {
+ if (token && this._token ? token.token !== this._token.token || token.authenticationProviderId !== this._token.authenticationProviderId : token !== this._token) {
50
this._token = token;
51
this._onDidChangeToken.fire(token);
52
0 commit comments