Skip to content

ActivityPub-federated video streaming platform using P2P directly in your web browser

530 B
Raw Blame
<div class="two-factor">
  @if (!twoFactorEnabled) {
    <p i18n>Two factor authentication adds an additional layer of security to your account by requiring a numeric code from another device (most commonly mobile phones) when you log in.</p>
    <my-button [ptRouterLink]="[ '/my-account/two-factor-auth' ]" theme="primary" i18n>Enable two-factor authentication</my-button>
  }

  @if (twoFactorEnabled) {
    <my-button theme="primary" (click)="disableTwoFactor()" i18n>Disable two-factor authentication</my-button>
  }

</div>