fix 2FA
This commit is contained in:
@@ -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()"
|
||||
|
||||
Reference in New Issue
Block a user