Hi everybody. [?] I want to redirect a user to an especific route after login/authentication according to his roles.
I'm aware that Symfony2 authenticates users through _securty_check route and it does't require you to write a securityCheckAction() controller; also, if you request something like /admin and you are not authenticated, it will prompt the login page, and then redirect to the requested url. But I want a custom redirect, because if I request /login route directly Symfony2 will redirect me to the same login page (now logged in). How can I accomplish this??? Is there a way to override the security_check action? Do I have to use a listener? how? Thanks in advance [?] -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
<<349.gif>>
<<330.gif>>