aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/UserBundle/Controller
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-05-30 15:26:11 +0200
committerGitHub <noreply@github.com>2017-05-30 15:26:11 +0200
commit2150576d86709968faec3ed7b8cdc576c0200ae2 (patch)
tree105724e36303bd75755b19b8bc385bea800cae1c /src/Wallabag/UserBundle/Controller
parentd181bd728565454ec53d960f321ed0a4c3bf26c8 (diff)
parentfe6461e4aaff5aa2fd846492e3abd9ea38c07a5b (diff)
downloadwallabag-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.php4
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()) {