mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 12:05:37 +00:00
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:
parent
34539691f6
commit
fd755a7ff9
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user