]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php
changed email fields with the email type and added required parameter on some stuff
[github/wallabag/wallabag.git] / src / Wallabag / CoreBundle / Form / Type / ForgotPasswordType.php
index c278b84fa76e4e342356cb5340ac11d267df0fc5..4cc16a501a28c4a93453b0881fb6718d9bf8cafe 100644 (file)
@@ -20,6 +20,7 @@ class ForgotPasswordType extends AbstractType
     {
         $builder
             ->add('email', 'email', array(
+                'required' => true,
                 'constraints' => array(
                     new Constraints\Email(),
                     new Constraints\NotBlank(),