]> Raphaƫl G. Git Repositories - userbundle/blobdiff - Form/RegisterType.php
Add rapsysuser home route
[userbundle] / Form / RegisterType.php
index 09eea5c6bf4eddf403e3853bd416ed6e6c0a41e3..00c17b2d53c173f53d07d8fd8c7d6fab48e6b3b1 100644 (file)
@@ -87,6 +87,9 @@ class RegisterType extends CaptchaType {
         * {@inheritdoc}
         */
        public function configureOptions(OptionsResolver $resolver): void {
+               //Call parent configure options
+               parent::configureOptions($resolver);
+
                //Set defaults
                $resolver->setDefaults(['error_bubbling' => true, 'civility' => true, 'civility_class' => 'RapsysUserBundle:Civility', 'civility_default' => null, 'mail' => true, 'password' => true, 'password_repeated' => true, 'forename' => true, 'surname' => true, 'active' => false, 'enable' => false]);