Add ability to set redirect URLs
Opened this issue · 3 comments
ashleyhindle commented
After login and register. More than happy to build this if you can let me know how you'd prefer it to work.
ashleyhindle commented
This isn't required for login as the security provider can redirect on login if you set default_target_path in the 'form' array of your secure area.
'default_target_path' => 'dashboard', // 'dashboard' here is a named route using ->bind
deanc commented
I think this should be an option for SimpleUser under $app['user.options']
. And then this could be re-used in the $app['security.firewalls']
when specifying the default_target_path
.
But definitely 👍
Indiana- commented
That will be useful !