diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2019-07-21 13:37:35 +0200 |
---|---|---|
committer | Igor Scheller <igor.scheller@igorshp.de> | 2019-07-21 13:37:35 +0200 |
commit | 3d8476efd3709806d254b1c41e26e906080e0b39 (patch) | |
tree | affedfa9b567563a03f52c37d2fc4a25040e0b97 /src | |
parent | d4d4b409b6fd96ca297af323936b8922d45b6eda (diff) |
ErrorHandler: Remove more form fields before serialization
Diffstat (limited to 'src')
-rw-r--r-- | src/Middleware/ErrorHandler.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/Middleware/ErrorHandler.php b/src/Middleware/ErrorHandler.php index 544f35d5..65e2e609 100644 --- a/src/Middleware/ErrorHandler.php +++ b/src/Middleware/ErrorHandler.php @@ -29,6 +29,12 @@ class ErrorHandler implements MiddlewareInterface protected $formIgnore = [ 'password', 'password_confirmation', + 'password2', + 'new_password', + 'new_password2', + 'new_pw', + 'new_pw2', + '_token', ]; /** |