I've got a symfony 2 application with 3 different roles: Admin, Vendor, and User. All three of these users should have different login pages. What I'm struggling with is figuring out what to put in the security.yml
to get unauthenticated (IS_AUTHENTICATED_ANONYMOUSLY
) users on a certain url path /vendor
for instance to redirect to something like /adminlogin
versus just /login
. I'm using FOSUserBundle
right now, and it looks like everything redirects to /login
.
Thanks!