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 2ee24b8f..9e95eb47 100644 --- a/src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php +++ b/src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php | |||
@@ -21,6 +21,7 @@ class ForgotPasswordType extends AbstractType | |||
21 | { | 21 | { |
22 | $builder | 22 | $builder |
23 | ->add('email', 'email', array( | 23 | ->add('email', 'email', array( |
24 | 'required' => true, | ||
24 | 'constraints' => array( | 25 | 'constraints' => array( |
25 | new Constraints\Email(), | 26 | new Constraints\Email(), |
26 | new Constraints\NotBlank(), | 27 | new Constraints\NotBlank(), |