1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-09 05:00:10 +00:00

rename setSelected2faProviderType to initializeSelected2faProviderType

This commit is contained in:
Alec Rippberger
2025-04-24 15:05:45 -05:00
parent 1515af2171
commit b4d2cd974d

View File

@@ -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 (