diff --git a/htdocs/auth/lib.php b/htdocs/auth/lib.php index e8adf17b28634d3cc8b6a4c7a06f40cd494cb1d7..4833ef7bff164e195069570fcac684b3fa64002d 100644 --- a/htdocs/auth/lib.php +++ b/htdocs/auth/lib.php @@ -1836,7 +1836,7 @@ function password_validate(Pieform $form, $values, $user) { $authobj = AuthFactory::create($user->authinstance); if (!$form->get_error('password1') && !$authobj->is_password_valid($values['password1'])) { - $form->set_error('password1', get_string('passwordinvalidform', "auth.$authobj->type")); + $form->set_error('password1', get_string('passwordinvalidform', "auth.$authobj->type"), false); } $suckypasswords = array(