Skip to content

Commit 4aa9d45

Browse files
committed
fix #195532
1 parent 0898fe3 commit 4aa9d45

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)