Fix bad redirection when adding a new user

This commit is contained in:
Jeremy Benoist 2016-01-21 16:36:30 +01:00
parent 27ea492cf7
commit e56983af1f
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class ConfigController extends Controller
$newUser->setEnabled(true); $newUser->setEnabled(true);
$newUserForm = $this->createForm(NewUserType::class, $newUser, array( $newUserForm = $this->createForm(NewUserType::class, $newUser, array(
'validation_groups' => array('Profile'), 'validation_groups' => array('Profile'),
'action' => $this->generateUrl('config').'#set5', 'action' => $this->generateUrl('config').'#set6',
)); ));
$newUserForm->handleRequest($request); $newUserForm->handleRequest($request);