From: Raphaƫl Gertz Date: Sun, 8 Aug 2021 17:43:35 +0000 (+0200) Subject: Enable all fields by default X-Git-Tag: 0.2.0~76 X-Git-Url: https://git.rapsys.eu/userbundle/commitdiff_plain/21e92295f3a0ee28071c253b4f5269ed92adc94f?ds=sidebyside Enable all fields by default --- 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');