skuzzybear
Forum Replies Created
-
Please also inform where I can change the password hint on the registration page, the text that says “The password should be at least twelve characters long. To make it stronger, use upper and lower case letters, numbers, and symbols like ! ” ? $ % ^ & )”
There is an error with this “dirty” solution at https://ww.wp.xz.cn/support/topic/password-strength-14/
I followed the instructions to edit the file inc/class-lp-forms-handler.php. I removed the expression matches for capital letters, numbers, and special characters. I left three expression matches for character length above 6, letters, no spaces. However, what happens now, if I enter a password on the registration form that is less than 6 characters, there are two “error” messages returned. The first says “Register successfully” and the second message (underneath the first message) says “Password is too short!” – and the user details are not entered into the user table. The “Register successfully” message should not be showing! The only code I changed was to remove the three preg_match lines of code as mentioned in the above. Please advise how this can be solved. Thank you.