Skip to content

Commit 9926b76

Browse files
committed
Merge branch '7.0' into 7.1
* 7.0: [Security] fix getUser function link
2 parents 26ca6ea + a3fab4e commit 9926b76

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1132,7 +1132,7 @@ token (or whatever you need to return) and return the JSON response:
11321132

11331133
The ``#[CurrentUser]`` can only be used in controller arguments to
11341134
retrieve the authenticated user. In services, you would use
1135-
:method:`Symfony\\Component\\Security\\Core\\Security::getUser`.
1135+
:method:`Symfony\\Bundle\\SecurityBundle\\Security::getUser`.
11361136

11371137
That's it! To summarize the process:
11381138

0 commit comments

Comments
 (0)