Skip to content

Commit

Permalink
[#5015] Very small tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
weaverryan committed Mar 14, 2015
1 parent 8119e85 commit edd8618
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions cookbook/security/impersonating_user.rst
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,7 @@ to show a link to exit impersonation:

In some cases you may need to get the object that represents the impersonating
user rather than the impersonated user. Use the following snippet to iterate
over user's roles until you get the ``SwitchUserRole`` related to the
impersonating user::
over the user's roles until you find one that a ``SwitchUserRole`` object::

use Symfony\Component\Security\Core\Role\SwitchUserRole;

Expand Down

0 comments on commit edd8618

Please sign in to comment.