pub fn new_password_errors(password: &str, confirmation: &str) -> FieldErrorsExpand description
Refuses a new password shorter than MIN_PASSWORD_CHARS under the password key, and a
confirmation that differs from it under password_confirmation: the checks a sign-up form
with SignUp’s password keys runs in Registrar::validate.