aboutsummaryrefslogtreecommitdiffhomepage
path: root/client/src/app/+my-account/my-account-settings/my-account-two-factor/my-account-two-factor-button.component.html
blob: 2fcfffbf37aa128877c96078aac2069f0442525b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
<div class="two-factor">
  <ng-container *ngIf="!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 [routerLink]="[ '/my-account/two-factor-auth' ]" className="orange-button-link" i18n>Enable two-factor authentication</my-button>
  </ng-container>

  <ng-container *ngIf="twoFactorEnabled">
    <my-button className="orange-button" (click)="disableTwoFactor()" i18n>Disable two-factor authentication</my-button>
  </ng-container>

</div>