File tree Expand file tree Collapse file tree 1 file changed +2
-0
lines changed
src/vs/workbench/services/userDataSync/browser Expand file tree Collapse file tree 1 file changed +2
-0
lines changed Original file line number Diff line number Diff 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 ( ) ;
You can’t perform that action at this time.
0 commit comments