X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=src%2FWallabag%2FCoreBundle%2FForm%2FType%2FUserInformationType.php;h=e3196d9cc868def3cd4f633f705b1182e8041e05;hb=3f7a62908cc34b9d575bea5629dc0bb94e521e71;hp=3d6df51017161c84bb6e244a86cc51d5565cefb4;hpb=c7d3bf1671fbd2f69d58394e6478e7c532f1f6e4;p=github%2Fwallabag%2Fwallabag.git diff --git a/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php b/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php index 3d6df510..e3196d9c 100644 --- a/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php +++ b/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php @@ -1,9 +1,10 @@ add('name', 'text') ->add('email', 'email') ->add('save', 'submit') + ->remove('username') + ->remove('plainPassword') ; } - public function setDefaultOptions(OptionsResolverInterface $resolver) + public function getParent() + { + return 'fos_user_registration'; + } + + public function configureOptions(OptionsResolver $resolver) { $resolver->setDefaults(array( 'data_class' => 'Wallabag\CoreBundle\Entity\User',