Closed SteJaySulli closed 4 years ago
I cannot seem to locate where this message is coming from - I have confirmed that this message is coming from the PasswordRules::optionallyChangePassword
rule, but it seems to happen no matter what password I provide, even if the password should pass validation.
I've found the problem, I hadn't enclosed it in an array!
In testing (specifically using
PasswordRules::optionallyChangePassword
) I entered the password "CorrectHorseBatteryStaple"; the message reads:The password and password confirmation must be different.
This is confusing for the user, as their password and password confirmation must match - Please consider changing this to something that better represents the actual error, such as "Your password cannot be based on dictionary words".