From b4d2cd974d3899c4a658bfef509b29488a25c415 Mon Sep 17 00:00:00 2001 From: Alec Rippberger Date: Thu, 24 Apr 2025 15:05:45 -0500 Subject: [PATCH] rename setSelected2faProviderType to initializeSelected2faProviderType --- .../src/angular/two-factor-auth/two-factor-auth.component.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/auth/src/angular/two-factor-auth/two-factor-auth.component.ts b/libs/auth/src/angular/two-factor-auth/two-factor-auth.component.ts index a51ed6340f9..27ddcec4c15 100644 --- a/libs/auth/src/angular/two-factor-auth/two-factor-auth.component.ts +++ b/libs/auth/src/angular/two-factor-auth/two-factor-auth.component.ts @@ -198,7 +198,7 @@ export class TwoFactorAuthComponent implements OnInit, OnDestroy { // Only set default 2FA provider type if we don't have one from cache if (!loadedCachedProviderType) { - await this.setSelected2faProviderType(); + await this.initializeSelected2faProviderType(); } await this.set2faProvidersAndData(); @@ -227,7 +227,7 @@ export class TwoFactorAuthComponent implements OnInit, OnDestroy { }); } - private async setSelected2faProviderType() { + private async initializeSelected2faProviderType() { const webAuthnSupported = this.platformUtilsService.supportsWebAuthn(this.win); if (