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

pull/4040/head
tidusjar 4 years ago
parent 8d3e22fa72
commit 8832ae793a

@ -19,7 +19,7 @@
{{'Login.UsernamePlaceholder' | translate}} is <strong>required</strong></mat-error> {{'Login.UsernamePlaceholder' | translate}} is <strong>required</strong></mat-error>
</mat-form-field> </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> <mat-label>{{'Login.PasswordPlaceholder' | translate}}</mat-label>
<input id="password-field" color="black" type="password" matInput formControlName="password" /> <input id="password-field" color="black" type="password" matInput formControlName="password" />
</mat-form-field> </mat-form-field>

Loading…
Cancel
Save