We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8119e85 commit edd8618Copy full SHA for edd8618
cookbook/security/impersonating_user.rst
@@ -88,8 +88,7 @@ to show a link to exit impersonation:
88
89
In some cases you may need to get the object that represents the impersonating
90
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::
+over the user's roles until you find one that a ``SwitchUserRole`` object::
93
94
use Symfony\Component\Security\Core\Role\SwitchUserRole;
95
0 commit comments