Skip to content

Commit e6af559

Browse files
authored
Merge pull request #197620 from microsoft/sandy081/ready-dolphin
fix #195532
2 parents 0898fe3 + 4aa9d45 commit e6af559

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/vs/workbench/services/userDataSync/browser/userDataSyncWorkbenchService.ts

+2
Original file line numberDiff line numberDiff line change
@@ -672,12 +672,14 @@ export class UserDataSyncWorkbenchService extends Disposable implements IUserDat
672672
} else {
673673
sessionId = (await this.authenticationService.createSession(accountOrAuthProvider.id, accountOrAuthProvider.scopes)).id;
674674
}
675+
this.currentAuthenticationProviderId = accountOrAuthProvider.id;
675676
} else {
676677
if (this.environmentService.options?.settingsSyncOptions?.authenticationProvider?.id === accountOrAuthProvider.authenticationProviderId) {
677678
sessionId = await this.environmentService.options?.settingsSyncOptions?.authenticationProvider?.signIn();
678679
} else {
679680
sessionId = accountOrAuthProvider.sessionId;
680681
}
682+
this.currentAuthenticationProviderId = accountOrAuthProvider.authenticationProviderId;
681683
}
682684
this.currentSessionId = sessionId;
683685
await this.update();

0 commit comments

Comments
 (0)