Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion security.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1097,7 +1097,7 @@ token (or whatever you need to return) and return the JSON response:

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

That's it! To summarize the process:

Expand Down