File tree 1 file changed +2
-0
lines changed
src/vs/workbench/services/userDataSync/browser
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
672
672
} else {
673
673
sessionId = ( await this . authenticationService . createSession ( accountOrAuthProvider . id , accountOrAuthProvider . scopes ) ) . id ;
674
674
}
675
+ this . currentAuthenticationProviderId = accountOrAuthProvider . id ;
675
676
} else {
676
677
if ( this . environmentService . options ?. settingsSyncOptions ?. authenticationProvider ?. id === accountOrAuthProvider . authenticationProviderId ) {
677
678
sessionId = await this . environmentService . options ?. settingsSyncOptions ?. authenticationProvider ?. signIn ( ) ;
678
679
} else {
679
680
sessionId = accountOrAuthProvider . sessionId ;
680
681
}
682
+ this . currentAuthenticationProviderId = accountOrAuthProvider . authenticationProviderId ;
681
683
}
682
684
this . currentSessionId = sessionId ;
683
685
await this . update ( ) ;
You can’t perform that action at this time.
0 commit comments