diff --git a/src/GoalioForgotPassword/Form/ForgotFilter.php b/src/GoalioForgotPassword/Form/ForgotFilter.php index 93067cd..093eb10 100644 --- a/src/GoalioForgotPassword/Form/ForgotFilter.php +++ b/src/GoalioForgotPassword/Form/ForgotFilter.php @@ -20,6 +20,11 @@ public function __construct( $emailValidator, ForgotOptionsInterface $options) $this->add(array( 'name' => 'email', 'required' => true, + 'filters' => array( + array( + 'name' => 'StringTrim', + ), + ), 'validators' => array( array( 'name' => 'EmailAddress'