ErrorHandler: Remove more form fields before serialization
This commit is contained in:
parent
d4d4b409b6
commit
3d8476efd3
|
@ -29,6 +29,12 @@ class ErrorHandler implements MiddlewareInterface
|
||||||
protected $formIgnore = [
|
protected $formIgnore = [
|
||||||
'password',
|
'password',
|
||||||
'password_confirmation',
|
'password_confirmation',
|
||||||
|
'password2',
|
||||||
|
'new_password',
|
||||||
|
'new_password2',
|
||||||
|
'new_pw',
|
||||||
|
'new_pw2',
|
||||||
|
'_token',
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue