From 21e92295f3a0ee28071c253b4f5269ed92adc94f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Rapha=C3=ABl=20Gertz?= Date: Sun, 8 Aug 2021 19:43:35 +0200 Subject: [PATCH 1/1] Enable all fields by default --- Form/RecoverType.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Form/RecoverType.php b/Form/RecoverType.php index 50dd68f..b1785dd 100644 --- a/Form/RecoverType.php +++ b/Form/RecoverType.php @@ -41,7 +41,7 @@ class RecoverType extends AbstractType { */ public function configureOptions(OptionsResolver $resolver) { //Set defaults - $resolver->setDefaults(['error_bubbling' => true, 'mail' => true, 'password' => false]); + $resolver->setDefaults(['error_bubbling' => true, 'mail' => true, 'password' => true]); //Add extra mail option $resolver->setAllowedTypes('mail', 'boolean'); -- 2.41.1