diff --git a/apps/browser/src/auth/popup/two-factor-auth.component.ts b/apps/browser/src/auth/popup/two-factor-auth.component.ts index 8fe735bd16d..67ff0fd2857 100644 --- a/apps/browser/src/auth/popup/two-factor-auth.component.ts +++ b/apps/browser/src/auth/popup/two-factor-auth.component.ts @@ -4,6 +4,7 @@ import { FormBuilder, ReactiveFormsModule } from "@angular/forms"; import { ActivatedRoute, Router, RouterLink } from "@angular/router"; import { TwoFactorAuthAuthenticatorComponent } from "@bitwarden/angular/auth/components/two-factor-auth/two-factor-auth-authenticator.component"; +import { TwoFactorAuthYubikeyComponent } from "@bitwarden/angular/auth/components/two-factor-auth/two-factor-auth-yubikey.component"; import { TwoFactorAuthComponent as BaseTwoFactorAuthComponent } from "@bitwarden/angular/auth/components/two-factor-auth/two-factor-auth.component"; import { TwoFactorOptionsComponent } from "@bitwarden/angular/auth/components/two-factor-auth/two-factor-options.component"; import { JslibModule } from "@bitwarden/angular/jslib.module"; @@ -59,6 +60,7 @@ import BrowserPopupUtils from "../../platform/popup/browser-popup-utils"; CheckboxModule, TwoFactorOptionsComponent, TwoFactorAuthAuthenticatorComponent, + TwoFactorAuthYubikeyComponent, ], providers: [I18nPipe], }) diff --git a/apps/desktop/src/auth/two-factor-auth.component.ts b/apps/desktop/src/auth/two-factor-auth.component.ts index 3f259876655..191a88e621a 100644 --- a/apps/desktop/src/auth/two-factor-auth.component.ts +++ b/apps/desktop/src/auth/two-factor-auth.component.ts @@ -5,6 +5,7 @@ import { ReactiveFormsModule } from "@angular/forms"; import { RouterLink } from "@angular/router"; import { TwoFactorAuthAuthenticatorComponent } from "../../../../libs/angular/src/auth/components/two-factor-auth/two-factor-auth-authenticator.component"; +import { TwoFactorAuthYubikeyComponent } from "../../../../libs/angular/src/auth/components/two-factor-auth/two-factor-auth-yubikey.component"; import { TwoFactorAuthComponent as BaseTwoFactorAuthComponent } from "../../../../libs/angular/src/auth/components/two-factor-auth/two-factor-auth.component"; import { TwoFactorOptionsComponent } from "../../../../libs/angular/src/auth/components/two-factor-auth/two-factor-options.component"; import { JslibModule } from "../../../../libs/angular/src/jslib.module"; @@ -35,6 +36,7 @@ import { TypographyModule } from "../../../../libs/components/src/typography"; CheckboxModule, TwoFactorOptionsComponent, TwoFactorAuthAuthenticatorComponent, + TwoFactorAuthYubikeyComponent, ], providers: [I18nPipe], }) diff --git a/apps/web/src/app/auth/two-factor-auth.component.ts b/apps/web/src/app/auth/two-factor-auth.component.ts index 8860303596a..8bdd458ea99 100644 --- a/apps/web/src/app/auth/two-factor-auth.component.ts +++ b/apps/web/src/app/auth/two-factor-auth.component.ts @@ -20,6 +20,7 @@ import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/pl import { LinkModule, TypographyModule, CheckboxModule, DialogService } from "@bitwarden/components"; import { TwoFactorAuthAuthenticatorComponent } from "../../../../../libs/angular/src/auth/components/two-factor-auth/two-factor-auth-authenticator.component"; +import { TwoFactorAuthYubikeyComponent } from "../../../../../libs/angular/src/auth/components/two-factor-auth/two-factor-auth-yubikey.component"; import { TwoFactorAuthComponent as BaseTwoFactorAuthComponent } from "../../../../../libs/angular/src/auth/components/two-factor-auth/two-factor-auth.component"; import { TwoFactorOptionsComponent } from "../../../../../libs/angular/src/auth/components/two-factor-auth/two-factor-options.component"; import { @@ -50,6 +51,7 @@ import { FormFieldModule } from "../../../../../libs/components/src/form-field"; CheckboxModule, TwoFactorOptionsComponent, TwoFactorAuthAuthenticatorComponent, + TwoFactorAuthYubikeyComponent, ], providers: [I18nPipe], }) diff --git a/libs/angular/src/auth/components/two-factor-auth/two-factor-auth-yubikey.component.html b/libs/angular/src/auth/components/two-factor-auth/two-factor-auth-yubikey.component.html new file mode 100644 index 00000000000..ea0c98cece9 --- /dev/null +++ b/libs/angular/src/auth/components/two-factor-auth/two-factor-auth-yubikey.component.html @@ -0,0 +1,18 @@ +
{{ "insertYubiKey" | i18n }}
+
+