Skip to content

Commit edd8618

Browse files
committed
[#5015] Very small tweak
1 parent 8119e85 commit edd8618

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cookbook/security/impersonating_user.rst

+1-2
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,7 @@ to show a link to exit impersonation:
8888

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

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

0 commit comments

Comments
 (0)