refactor: align ui and backend password validation policy

This commit is contained in:
leksinomi
2024-11-04 10:35:56 -06:00
committed by Jose Alberto Hernandez
parent 2b730bb1ea
commit 0762dfbac2
17 changed files with 19 additions and 19 deletions
@@ -13,7 +13,7 @@
{{ 'labels.inputs.Password' | translate }} <strong>{{'labels.commons.is required' | translate }}</strong>
</mat-error>
<mat-error *ngIf="changePasswordForm.controls.password.hasError('minlength')">
{{'labels.commons.Password should be at least' | translate }} <strong>{{'labels.commons.8 characters long' | translate }}</strong>
{{'labels.commons.Password should be at least' | translate }} <strong>{{'labels.commons.12 characters long' | translate }}</strong>
</mat-error>
<mat-error *ngIf="changePasswordForm.controls.password.hasError('maxlength')">
{{'labels.commons.Password should not be more than' | translate }} <strong>{{'labels.commons.50 characters long' | translate }}</strong>