mirror of
https://github.com/bitwarden/web
synced 2025-12-31 23:53:13 +00:00
20 lines
633 B
TypeScript
20 lines
633 B
TypeScript
import { Component } from '@angular/core';
|
|
|
|
import { PolicyType } from 'jslib-common/enums/policyType';
|
|
|
|
import { BasePolicy, BasePolicyComponent } from './base-policy.component';
|
|
|
|
export class TwoFactorAuthenticationPolicy extends BasePolicy {
|
|
name = 'twoStepLogin';
|
|
description = 'twoStepLoginPolicyDesc';
|
|
type = PolicyType.TwoFactorAuthentication;
|
|
component = TwoFactorAuthenticationPolicyComponent;
|
|
}
|
|
|
|
@Component({
|
|
selector: 'policy-two-factor-authentication',
|
|
templateUrl: 'two-factor-authentication.component.html',
|
|
})
|
|
export class TwoFactorAuthenticationPolicyComponent extends BasePolicyComponent {
|
|
}
|