Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit edd8618

Browse filesBrowse files
committed
[#5015] Very small tweak
1 parent 8119e85 commit edd8618
Copy full SHA for edd8618

File tree

Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-2
lines changed

‎cookbook/security/impersonating_user.rst

Copy file name to clipboardExpand all lines: cookbook/security/impersonating_user.rst
+1-2Lines changed: 1 addition & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.