From 4d6e818e406417295298e76529ef761ddd8b1385 Mon Sep 17 00:00:00 2001 From: Thomas Citharel Date: Wed, 15 Apr 2015 16:50:20 +0200 Subject: changed email fields with the email type and added required parameter on some stuff --- src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php | 1 + 1 file changed, 1 insertion(+) (limited to 'src/Wallabag/CoreBundle/Form/Type/ForgotPasswordType.php') 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 { $builder ->add('email', 'email', array( + 'required' => true, 'constraints' => array( new Constraints\Email(), new Constraints\NotBlank(), -- cgit v1.2.3