Also, does anyone know how to tell if the logged in user is being
"impersonated"?  I, of course, would like to have a link up top to
switch back to the original user when we're impersonating one.


On Apr 27, 3:20 pm, Roger Webb <webb.ro...@gmail.com> wrote:
> Greetings,
>
> I've set up a system using SF2 Security and User Impersonation.
>
> Relevant lines from config.yml
>
> firewalls:
>     user:
>         switch_user { role: ROLE_USER_ADMIN }
>
> Switching to a user with "http://www.mydomain.com/blah?
> _switch_user=username" works fine, but I am unable to switch back with
> anything like "http://www.mydomain.com/blah?_switch_user=_exit";.
> Instead I am redirected to the login path with the impersonated user
> still logged in?
>
> Any ideas?
>
> Roger

-- 
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

Reply via email to