...
Switch following settings on or off according to your implementation requirements.
- security.passwordCannotMatchUsername
- security.passwordCustomRegex
- security.passwordMinimumLength
- security.passwordRequiresDigit
- security.passwordRequiresNonDigit
- security.passwordRequiresUpperAndLowerCase .
Save settings and your are done!