summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorIgor Scheller <igor.scheller@igorshp.de>2019-07-21 13:37:35 +0200
committerIgor Scheller <igor.scheller@igorshp.de>2019-07-21 13:37:35 +0200
commit3d8476efd3709806d254b1c41e26e906080e0b39 (patch)
treeaffedfa9b567563a03f52c37d2fc4a25040e0b97 /src
parentd4d4b409b6fd96ca297af323936b8922d45b6eda (diff)
ErrorHandler: Remove more form fields before serialization
Diffstat (limited to 'src')
-rw-r--r--src/Middleware/ErrorHandler.php6
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',
];
/**