mirror of
https://github.com/bitwarden/browser
synced 2026-02-15 07:54:55 +00:00
* Changed policies dialog “enabled” checkboxes title to “Turn on” * Changed policies “Enabled” badge text to “On” * Moved master password reset policy up to 3rd row * Changed the wording on the Single-Sign-On page * Updated policies page content * Master-password component now uses new title text * Two-factor-auth component now uses new title text * Updated personal-ownership model checkbox text * Updated texts for send options policy * Updated the single-sign-on policy description
19 lines
636 B
TypeScript
19 lines
636 B
TypeScript
import { Component } from "@angular/core";
|
|
|
|
import { PolicyType } from "@bitwarden/common/enums/policyType";
|
|
|
|
import { BasePolicy, BasePolicyComponent } from "./base-policy.component";
|
|
|
|
export class TwoFactorAuthenticationPolicy extends BasePolicy {
|
|
name = "twoStepLoginPolicyTitle";
|
|
description = "twoStepLoginPolicyDesc";
|
|
type = PolicyType.TwoFactorAuthentication;
|
|
component = TwoFactorAuthenticationPolicyComponent;
|
|
}
|
|
|
|
@Component({
|
|
selector: "policy-two-factor-authentication",
|
|
templateUrl: "two-factor-authentication.component.html",
|
|
})
|
|
export class TwoFactorAuthenticationPolicyComponent extends BasePolicyComponent {}
|