aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
diff options
context:
space:
mode:
authorNicolas LÅ“uillet <nicolas@loeuillet.org>2015-09-12 16:13:40 +0200
committerNicolas LÅ“uillet <nicolas@loeuillet.org>2015-09-12 16:13:40 +0200
commitfb96ea884532e9804194afd92a98c5c6aecc177e (patch)
treedfcb9a7cd9a1eeac200852ef74f6fc9329e3337c /src/Wallabag/CoreBundle/Form/Type/UserInformationType.php
parent9c08a891f9bb90bc3f23a575a734283c1ee00ba1 (diff)
parentaf43bd37675954f937720f7b6fbcf78d85928bc5 (diff)
downloadwallabag-fb96ea884532e9804194afd92a98c5c6aecc177e.tar.gz
wallabag-fb96ea884532e9804194afd92a98c5c6aecc177e.tar.zst
wallabag-fb96ea884532e9804194afd92a98c5c6aecc177e.zip
Merge pull request #1362 from wallabag/v2-fosuser
implement 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(