Closed
Description
Hello,
I want to redirect to /admin/dashboard after logging (/admin/login) but if the parameter security.firewalls.
.use_forward is true, we cannot to access to form login because of the error :Fatal error: Call to a member function get() on a non-object in
/mnt/workspace/client/project/vendor/bundles/FOS/UserBundle/Controller/SecurityController.php on line 26
The problem is the sessions isn't initialized.
The solution is :
- Set the parameter security.firewalls..use_forward to false
- Set the parameter security.firewalls..always_use_default_target_path to true