diff options
author | Jérémy Benoist <j0k3r@users.noreply.github.com> | 2017-05-30 15:26:11 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-05-30 15:26:11 +0200 |
commit | 2150576d86709968faec3ed7b8cdc576c0200ae2 (patch) | |
tree | 105724e36303bd75755b19b8bc385bea800cae1c /src/Wallabag/UserBundle/Controller | |
parent | d181bd728565454ec53d960f321ed0a4c3bf26c8 (diff) | |
parent | fe6461e4aaff5aa2fd846492e3abd9ea38c07a5b (diff) | |
download | wallabag-2150576d86709968faec3ed7b8cdc576c0200ae2.tar.gz wallabag-2150576d86709968faec3ed7b8cdc576c0200ae2.tar.zst wallabag-2150576d86709968faec3ed7b8cdc576c0200ae2.zip |
Merge pull request #3065 from wallabag/api-creation-endpoint
Register through API
Diffstat (limited to 'src/Wallabag/UserBundle/Controller')
-rw-r--r-- | src/Wallabag/UserBundle/Controller/ManageController.php | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Wallabag/UserBundle/Controller/ManageController.php b/src/Wallabag/UserBundle/Controller/ManageController.php index 1c5c86d4..084f2c67 100644 --- a/src/Wallabag/UserBundle/Controller/ManageController.php +++ b/src/Wallabag/UserBundle/Controller/ManageController.php | |||
@@ -33,9 +33,7 @@ class ManageController extends Controller | |||
33 | // enable created user by default | 33 | // enable created user by default |
34 | $user->setEnabled(true); | 34 | $user->setEnabled(true); |
35 | 35 | ||
36 | $form = $this->createForm('Wallabag\UserBundle\Form\NewUserType', $user, [ | 36 | $form = $this->createForm('Wallabag\UserBundle\Form\NewUserType', $user); |
37 | 'validation_groups' => ['Profile'], | ||
38 | ]); | ||
39 | $form->handleRequest($request); | 37 | $form->handleRequest($request); |
40 | 38 | ||
41 | if ($form->isSubmitted() && $form->isValid()) { | 39 | if ($form->isSubmitted() && $form->isValid()) { |