This commit is contained in:
_Bastler
2021-05-19 21:10:54 +02:00
parent 5304409ea4
commit 9ab0b9553c
3 changed files with 13 additions and 3 deletions
@@ -1,4 +1,4 @@
<form action="{{apiUrl}}/auth/formlogin/totp" method="POST" #totpForm>
<form action="{{apiUrl}}/auth/login/totp" method="POST" #totpForm>
<mat-card>
<mat-card-content>
<h2>{{'security.2fa.totp.external' | i18n}}<mat-icon style="font-size: 1em;">open_in_new
@@ -13,6 +13,9 @@
{{'security.2fa.totp.missing' | i18n}}
</mat-error>
</mat-form-field>
<mat-slide-toggle id="keep" name="keep" [checked]="keep" >
{{'login.keepSession' | i18n}}
</mat-slide-toggle>
</mat-card-content>
<mat-card-actions>
<button type="submit" mat-raised-button color="primary" (click)="totpForm.submit()"