BUG ChangePasswordForm validation message should render HTML correctly.

HTML shows up in the form message escaped, but it shouldn't be.
This commit is contained in:
Sean Harvey 2014-03-24 14:02:09 +13:00 committed by Damian Mooyman
parent 34539691f6
commit fd755a7ff9

View File

@ -131,7 +131,8 @@ class ChangePasswordForm extends Form {
"We couldn't accept that password: {password}",
array('password' => nl2br("\n".$isValid->starredList()))
),
"bad"
"bad",
false
);
// redirect back to the form, instead of using redirectBack() which could send the user elsewhere.