aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Wallabag/UserBundle/Controller
diff options
context:
space:
mode:
authorJeremy Benoist <jeremy.benoist@gmail.com>2017-05-30 07:56:41 +0200
committerJeremy Benoist <jeremy.benoist@gmail.com>2017-05-30 08:04:11 +0200
commitd069bff4f606be75c47a3415f2a5af13d6f04865 (patch)
tree38de497b462bed38ff0ac30d9ceba11fe38df6e1 /src/Wallabag/UserBundle/Controller
parent5709ecb36809fb009446a11a758232bbe8f264e4 (diff)
downloadwallabag-d069bff4f606be75c47a3415f2a5af13d6f04865.tar.gz
wallabag-d069bff4f606be75c47a3415f2a5af13d6f04865.tar.zst
wallabag-d069bff4f606be75c47a3415f2a5af13d6f04865.zip
Remove unknown validation_groups
The Profile validation_groups does not exist and then for validation to be skipped (like password length)
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()) {