diff options
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php')
-rw-r--r-- | src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php b/src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php index c278b84f..4cc16a50 100644 --- a/src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php +++ b/src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php | |||
@@ -20,6 +20,7 @@ class ForgotPasswordType extends AbstractType | |||
20 | { | 20 | { |
21 | $builder | 21 | $builder |
22 | ->add('email', 'email', array( | 22 | ->add('email', 'email', array( |
23 | 'required' => true, | ||
23 | 'constraints' => array( | 24 | 'constraints' => array( |
24 | new Constraints\Email(), | 25 | new Constraints\Email(), |
25 | new Constraints\NotBlank(), | 26 | new Constraints\NotBlank(), |