mirror of https://github.com/wallabag/wallabag.git
Fix bad redirection when adding a new user
This commit is contained in:
parent
27ea492cf7
commit
e56983af1f
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue