mirror of
https://github.com/microsoft/vscode.git
synced 2026-04-26 11:38:51 +01:00
Remove authentication provider package.json declaration
This commit is contained in:
@@ -132,7 +132,7 @@ export class UserDataSyncWorkbenchService extends Disposable implements IUserDat
|
||||
}
|
||||
|
||||
private updateAuthenticationProviders(): void {
|
||||
this._authenticationProviders = (this.userDataSyncStoreManagementService.userDataSyncStore?.authenticationProviders || []).filter(({ id }) => this.authenticationService.declaredProviders.some(provider => provider.id === id));
|
||||
this._authenticationProviders = (this.userDataSyncStoreManagementService.userDataSyncStore?.authenticationProviders || []).filter(({ id }) => this.authenticationService.getProviderIds().some(providerId => providerId === id));
|
||||
}
|
||||
|
||||
private isSupportedAuthenticationProviderId(authenticationProviderId: string): boolean {
|
||||
@@ -167,8 +167,6 @@ export class UserDataSyncWorkbenchService extends Disposable implements IUserDat
|
||||
|
||||
await this.update();
|
||||
|
||||
this._register(this.authenticationService.onDidChangeDeclaredProviders(() => this.updateAuthenticationProviders()));
|
||||
|
||||
this._register(
|
||||
Event.any(
|
||||
Event.filter(
|
||||
|
||||
Reference in New Issue
Block a user