File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
packages/auth/src/core/auth Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,19 +45,19 @@ export class PasswordPolicyImpl implements PasswordPolicyInternal {
45
45
this . customStrengthOptions . maxPasswordLength =
46
46
responseOptions . maxPasswordLength ;
47
47
}
48
- if ( responseOptions . containsLowercaseCharacter ) {
48
+ if ( responseOptions . containsLowercaseCharacter !== undefined ) {
49
49
this . customStrengthOptions . containsLowercaseLetter =
50
50
responseOptions . containsLowercaseCharacter ;
51
51
}
52
- if ( responseOptions . containsUppercaseCharacter ) {
52
+ if ( responseOptions . containsUppercaseCharacter !== undefined ) {
53
53
this . customStrengthOptions . containsUppercaseLetter =
54
54
responseOptions . containsUppercaseCharacter ;
55
55
}
56
- if ( responseOptions . containsNumericCharacter ) {
56
+ if ( responseOptions . containsNumericCharacter !== undefined ) {
57
57
this . customStrengthOptions . containsNumericCharacter =
58
58
responseOptions . containsNumericCharacter ;
59
59
}
60
- if ( responseOptions . containsNonAlphanumericCharacter ) {
60
+ if ( responseOptions . containsNonAlphanumericCharacter !== undefined ) {
61
61
this . customStrengthOptions . containsNonAlphanumericCharacter =
62
62
responseOptions . containsNonAlphanumericCharacter ;
63
63
}
You can’t perform that action at this time.
0 commit comments