I’d like to force my users to generate a password that meets minimum security rules.
I have a text field for setting one’s password. I also have a text field for checking if the password is valid.
A password say under 8 characters should be invalid according to my password policy. However, the password is valid check always evaluates to “yes” even when the password field is blank.
How do I enforce the password policy I setup?