diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-04-01 21:58:08 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2015-04-01 21:58:08 +0200 |
commit | e3c34bfc06f3ea266a418d6246560f15d3f73e2a (patch) | |
tree | 6c6465b6e936b0d38d0d3fdc489fb9e576a5e09c /src/Wallabag/CoreBundle/Controller | |
parent | d6fa2f70ac3c798b28ce33c6c143f45c09c74062 (diff) | |
parent | c844dc0c50bb4f1044154401310af25eb21b0f11 (diff) | |
download | wallabag-e3c34bfc06f3ea266a418d6246560f15d3f73e2a.tar.gz wallabag-e3c34bfc06f3ea266a418d6246560f15d3f73e2a.tar.zst wallabag-e3c34bfc06f3ea266a418d6246560f15d3f73e2a.zip |
Merge pull request #1164 from wallabag/v2-remove-username-in-config
Remove ability to change username
Diffstat (limited to 'src/Wallabag/CoreBundle/Controller')
-rw-r--r-- | src/Wallabag/CoreBundle/Controller/ConfigController.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Wallabag/CoreBundle/Controller/ConfigController.php b/src/Wallabag/CoreBundle/Controller/ConfigController.php index dbae3ea7..898c291f 100644 --- a/src/Wallabag/CoreBundle/Controller/ConfigController.php +++ b/src/Wallabag/CoreBundle/Controller/ConfigController.php | |||
@@ -9,7 +9,7 @@ use Symfony\Component\HttpFoundation\JsonResponse; | |||
9 | use Wallabag\CoreBundle\Entity\Config; | 9 | use Wallabag\CoreBundle\Entity\Config; |
10 | use Wallabag\CoreBundle\Entity\User; | 10 | use Wallabag\CoreBundle\Entity\User; |
11 | use Wallabag\CoreBundle\Form\Type\ChangePasswordType; | 11 | use Wallabag\CoreBundle\Form\Type\ChangePasswordType; |
12 | use Wallabag\CoreBundle\Form\Type\UserType; | 12 | use Wallabag\CoreBundle\Form\Type\UserInformationType; |
13 | use Wallabag\CoreBundle\Form\Type\NewUserType; | 13 | use Wallabag\CoreBundle\Form\Type\NewUserType; |
14 | use Wallabag\CoreBundle\Form\Type\RssType; | 14 | use Wallabag\CoreBundle\Form\Type\RssType; |
15 | use Wallabag\CoreBundle\Tools\Utils; | 15 | use Wallabag\CoreBundle\Tools\Utils; |
@@ -65,7 +65,7 @@ class ConfigController extends Controller | |||
65 | } | 65 | } |
66 | 66 | ||
67 | // handle changing user information | 67 | // handle changing user information |
68 | $userForm = $this->createForm(new UserType(), $user); | 68 | $userForm = $this->createForm(new UserInformationType(), $user); |
69 | $userForm->handleRequest($request); | 69 | $userForm->handleRequest($request); |
70 | 70 | ||
71 | if ($userForm->isValid()) { | 71 | if ($userForm->isValid()) { |