]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php
Merge pull request #1167 from wallabag/v2-api-bundle
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Form / Type / ForgotPasswordType.php
index c278b84fa76e4e342356cb5340ac11d267df0fc5..9e95eb47a9613d9ed0727a889b3b3925a8fa3d11 100644 (file)
@@ -1,4 +1,5 @@
 <?php
+
 namespace Wallabag\CoreBundle\Form\Type;
 
 use Symfony\Component\Form\AbstractType;
@@ -20,6 +21,7 @@ class ForgotPasswordType extends AbstractType
     {
         $builder
             ->add('email', 'email', array(
+                'required' => true,
                 'constraints' => array(
                     new Constraints\Email(),
                     new Constraints\NotBlank(),