Skip to content

Commit f0a46c9

Browse files
author
gerryvdm
committed
Update voters.rst
Corrected the service name to be injected0
1 parent e7a17ff commit f0a46c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cookbook/security/voters.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ access, not to grant access.
3232
Creating a custom Voter
3333
-----------------------
3434

35-
To blacklist a user based on its IP, you can use the ``request`` service
35+
To blacklist a user based on its IP, you can use the ``request_stack`` service
3636
and compare the IP address against a set of blacklisted IP addresses:
3737

3838
.. code-block:: php

0 commit comments

Comments
 (0)