Commit 05bd7f47 authored by Son Nguyen's avatar Son Nguyen Committed by Gerrit Code Review

Merge "Allowing form error string to be unescaped (bug #1203082)" into 1.6_STABLE

parents 585e1a03 9fabf08d
......@@ -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(
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment