1
0
Fork 0
mirror of https://github.com/wallabag/wallabag.git synced 2025-07-22 17:18:37 +00:00

Remove unknown validation_groups

The Profile validation_groups does not exist and then for validation to be skipped (like password length)
This commit is contained in:
Jeremy Benoist 2017-05-30 07:56:41 +02:00
parent 5709ecb368
commit d069bff4f6
No known key found for this signature in database
GPG key ID: BCA73962457ACC3C
2 changed files with 3 additions and 5 deletions

View file

@ -33,9 +33,7 @@ class ManageController extends Controller
// enable created user by default
$user->setEnabled(true);
$form = $this->createForm('Wallabag\UserBundle\Form\NewUserType', $user, [
'validation_groups' => ['Profile'],
]);
$form = $this->createForm('Wallabag\UserBundle\Form\NewUserType', $user);
$form->handleRequest($request);
if ($form->isSubmitted() && $form->isValid()) {