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:
parent
5709ecb368
commit
d069bff4f6
2 changed files with 3 additions and 5 deletions
|
@ -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()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue