Skip to content

Commit

Permalink
Merge pull request #95930 from microsoft/rmacfarlane/noAuthToken
Browse files Browse the repository at this point in the history
Fix 'No Auth Token' message on settings sync sign in
  • Loading branch information
sandy081 committed Apr 23, 2020
2 parents 2e5312c + f58dad4 commit d342048
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ export class UserDataSyncAccounts extends Disposable {
this._all = allAccounts;
const status = this.current ? AccountStatus.Available : AccountStatus.Unavailable;

if (this._status === AccountStatus.Unavailable) {
if (status === AccountStatus.Unavailable) {
await this.authenticationTokenService.setToken(undefined);
}

Expand Down

0 comments on commit d342048

Please sign in to comment.