]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Form/RecoverType.php
Cleanup
[userbundle] / Form / RecoverType.php
index 50dd68f92d7e7a221944dbfd9ff48796c3b03f28..b1785dd3eff5c48f7e6f3dfc614a67ce7da1d660 100644 (file)
@@ -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');