Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 5fac303

Browse filesBrowse files
committed
bug symfony#4165 Update voters.rst (gerryvdm)
This PR was submitted for the 2.5 branch but it was merged into the 2.4 branch instead (closes symfony#4165). Discussion ---------- Update voters.rst Corrected the service name to be injected Commits ------- f0a46c9 Update voters.rst
2 parents 4c3c726 + a5f54e3 commit 5fac303
Copy full SHA for 5fac303

File tree

Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+1
-1
lines changed

‎cookbook/security/voters.rst

Copy file name to clipboardExpand all lines: cookbook/security/voters.rst
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.