Skip to content

Commit 1b79509

Browse files
authored
version added
1 parent 0f7af22 commit 1b79509

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

security/impersonating_user.rst

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ listener:
6262
;
6363
};
6464
65-
To switch to another user, leverage the add a query string with the ``_switch_user``
65+
To switch to another user, add a query string with the ``_switch_user``
6666
parameter and the username (or whatever field our user provider uses to load users)
6767
as the value to the current URL:
6868

@@ -74,6 +74,10 @@ as the value to the current URL:
7474

7575
You can leverage the Twig function ``impersonation_path('thomas')``
7676

77+
.. versionadded:: 6.4
78+
79+
The ``impersonation_path()`` function was introduced in Symfony 6.4.
80+
7781
.. tip::
7882

7983
Instead of adding a ``_switch_user`` query string parameter, you can pass

0 commit comments

Comments
 (0)