diff options
author | Thomas Citharel <tcit@tcit.fr> | 2015-04-15 16:50:20 +0200 |
---|---|---|
committer | Thomas Citharel <tcit@tcit.fr> | 2015-04-15 16:50:20 +0200 |
commit | 4d6e818e406417295298e76529ef761ddd8b1385 (patch) | |
tree | ea3c9a1b264d8493cf82b555dc415dc0da5180b8 /src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php | |
parent | 04aaa199b780d71ead5f1d2ec39e38085431336d (diff) | |
download | wallabag-4d6e818e406417295298e76529ef761ddd8b1385.tar.gz wallabag-4d6e818e406417295298e76529ef761ddd8b1385.tar.zst wallabag-4d6e818e406417295298e76529ef761ddd8b1385.zip |
changed email fields with the email type and added required parameter on some stuff
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(), |