Fixed the issue where the password box is still shown even when auth with no password is enabled

This commit is contained in:
tidusjar 2021-02-06 19:37:13 +00:00
commit 8832ae793a

View file

@ -19,7 +19,7 @@
{{'Login.UsernamePlaceholder' | translate}} is <strong>required</strong></mat-error>
</mat-form-field>
<mat-form-field class="full-width" appearance="outline">
<mat-form-field *ngIf="!authenticationSettings.allowNoPassword" class="full-width" appearance="outline">
<mat-label>{{'Login.PasswordPlaceholder' | translate}}</mat-label>
<input id="password-field" color="black" type="password" matInput formControlName="password" />
</mat-form-field>