aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-08-25 16:29:22 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-09-11 20:32:37 +0200
commit3f7a62908cc34b9d575bea5629dc0bb94e521e71 (patch)
tree0e1f987dde2e4b96050fc0c44b2fd2782843723a /src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
parenta1691859ca0cb4c1b360c34b05aa74bdba9e582a (diff)
downloadwallabag-3f7a62908cc34b9d575bea5629dc0bb94e521e71.tar.gz
wallabag-3f7a62908cc34b9d575bea5629dc0bb94e521e71.tar.zst
wallabag-3f7a62908cc34b9d575bea5629dc0bb94e521e71.zip
fix tests for FosUser
Diffstat (limited to 'src/Wallabag/CoreBundle/Form/Type/UserInformationType.php')
-rw-r--r--src/Wallabag/CoreBundle/Form/Type/UserInformationType.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php b/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
index 1b628051..e3196d9c 100644
--- a/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
+++ b/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
@@ -14,9 +14,16 @@ class UserInformationType extends AbstractType
14 ->add('name', 'text') 14 ->add('name', 'text')
15 ->add('email', 'email') 15 ->add('email', 'email')
16 ->add('save', 'submit') 16 ->add('save', 'submit')
17 ->remove('username')
18 ->remove('plainPassword')
17 ; 19 ;
18 } 20 }
19 21
22 public function getParent()
23 {
24 return 'fos_user_registration';
25 }
26
20 public function configureOptions(OptionsResolver $resolver) 27 public function configureOptions(OptionsResolver $resolver)
21 { 28 {
22 $resolver->setDefaults(array( 29 $resolver->setDefaults(array(