Skip to content

Commit 60e99ec

Browse files
authored
Merge pull request #110 from rubenCodeforges/patch-1
fix(package): respect min value , not hardcode #109
2 parents eb88fbf + 8e77689 commit 60e99ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/module/component/mat-password-strength/mat-password-strength.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class MatPasswordStrengthComponent implements OnInit, OnChanges {
8787
}
8888

8989
private _containAtLeastEightChars(): boolean {
90-
this.containAtLeastEightChars = this.password.length >= 8;
90+
this.containAtLeastEightChars = this.password.length >= this.min;
9191
return this.containAtLeastEightChars;
9292
}
9393

0 commit comments

Comments
 (0)