mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-02 22:28:37 +02: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}",
|
"We couldn't accept that password: {password}",
|
||||||
array('password' => nl2br("\n".$isValid->starredList()))
|
array('password' => nl2br("\n".$isValid->starredList()))
|
||||||
),
|
),
|
||||||
"bad"
|
"bad",
|
||||||
|
false
|
||||||
);
|
);
|
||||||
|
|
||||||
// redirect back to the form, instead of using redirectBack() which could send the user elsewhere.
|
// redirect back to the form, instead of using redirectBack() which could send the user elsewhere.
|
||||||
|
Loading…
Reference in New Issue
Block a user