fix 2fa keep
This commit is contained in:
parent
bd671a987c
commit
30bed7245f
@ -27,10 +27,10 @@
|
|||||||
{{'security.2fa.missing' | i18n}}
|
{{'security.2fa.missing' | i18n}}
|
||||||
</mat-error>
|
</mat-error>
|
||||||
</mat-form-field>
|
</mat-form-field>
|
||||||
<mat-slide-toggle #toggle [checked]="keep">
|
<mat-slide-toggle #toggle *ngIf="keep" [checked]="true" [disabled]="true">
|
||||||
{{'security.2fa.keepSession' | i18n}}
|
{{'security.2fa.keepSession' | i18n}}
|
||||||
</mat-slide-toggle>
|
</mat-slide-toggle>
|
||||||
<input class="hidden" type="checkbox" id="keep" name="keep" [checked]="toggle.checked">
|
<input class="hidden" type="checkbox" id="keep" name="keep" [checked]="keep">
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
<mat-card-actions>
|
<mat-card-actions>
|
||||||
<a type="submit" mat-raised-button color="primary" (click)="form2FA.submit()"
|
<a type="submit" mat-raised-button color="primary" (click)="form2FA.submit()"
|
||||||
|
Loading…
Reference in New Issue
Block a user