2018-04-11 05:49:41 +02:00
|
|
|
import { Component } from "@angular/core";
|
2018-02-02 18:01:55 +01:00
|
|
|
import { Router } from "@angular/router";
|
|
|
|
|
2023-02-06 22:53:37 +01:00
|
|
|
import { TwoFactorOptionsComponent as BaseTwoFactorOptionsComponent } from "@bitwarden/angular/auth/components/two-factor-options.component";
|
|
|
|
import { TwoFactorService } from "@bitwarden/common/auth/abstractions/two-factor.service";
|
2023-06-06 22:34:53 +02:00
|
|
|
import { I18nService } from "@bitwarden/common/platform/abstractions/i18n.service";
|
|
|
|
import { PlatformUtilsService } from "@bitwarden/common/platform/abstractions/platform-utils.service";
|
2018-02-02 18:01:55 +01:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: "app-two-factor-options",
|
2018-04-06 18:25:22 +02:00
|
|
|
templateUrl: "two-factor-options.component.html",
|
2018-02-02 18:01:55 +01:00
|
|
|
})
|
2018-04-04 15:47:49 +02:00
|
|
|
export class TwoFactorOptionsComponent extends BaseTwoFactorOptionsComponent {
|
|
|
|
constructor(
|
2022-02-08 00:26:53 +01:00
|
|
|
twoFactorService: TwoFactorService,
|
2018-04-04 15:47:49 +02:00
|
|
|
router: Router,
|
|
|
|
i18nService: I18nService,
|
|
|
|
platformUtilsService: PlatformUtilsService,
|
|
|
|
) {
|
2022-02-08 00:26:53 +01:00
|
|
|
super(twoFactorService, router, i18nService, platformUtilsService, window);
|
2018-02-02 18:01:55 +01:00
|
|
|
}
|
|
|
|
}
|