diff options
author | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-04-15 17:29:28 +0200 |
---|---|---|
committer | Jeremy Benoist <j0k3r@users.noreply.github.com> | 2015-04-15 17:29:28 +0200 |
commit | 98510a4189186c8dcc3f1bf38843d935ed3d1859 (patch) | |
tree | a5a2186fb51bd2bf999c58606f3e42510eb4200d /src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php | |
parent | 04aaa199b780d71ead5f1d2ec39e38085431336d (diff) | |
parent | c7d3bf1671fbd2f69d58394e6478e7c532f1f6e4 (diff) | |
download | wallabag-98510a4189186c8dcc3f1bf38843d935ed3d1859.tar.gz wallabag-98510a4189186c8dcc3f1bf38843d935ed3d1859.tar.zst wallabag-98510a4189186c8dcc3f1bf38843d935ed3d1859.zip |
Merge pull request #1180 from wallabag/v2patch
Add some required
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(), |