Skip to content

Commit 2120b4a

Browse files
committed
Fixed minor issues
1 parent fc2442e commit 2120b4a

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

security/access_control.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ Take the following ``access_control`` entries as an example:
5959
<rule path="^/admin" role="ROLE_USER_HOST" host="symfony\.com$"/>
6060
<rule path="^/admin" role="ROLE_USER_METHOD" methods="POST, PUT"/>
6161
<!-- when defining multiple roles, users must have at least one of them (it's like an OR condition) -->
62-
<rule path="^/admin" roles="ROLE_ADMIN, ROLE_MANAGER" />
62+
<rule path="^/admin" roles="ROLE_ADMIN, ROLE_MANAGER"/>
6363
</config>
6464
</srv:container>
6565
@@ -295,7 +295,7 @@ key:
295295
access is granted if the expression is TRUE or the user has ROLE_ADMIN -->
296296
<rule path="^/_internal/secure"
297297
role="ROLE_ADMIN"
298-
allow-if="'127.0.0.1' == request.getClientIp() or request.header.has('X-Secure-Access')" />
298+
allow-if="'127.0.0.1' == request.getClientIp() or request.header.has('X-Secure-Access')"/>
299299
</config>
300300
</srv:container>
301301

security/form_login_setup.rst

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,5 +377,3 @@ As routing is done *before* security, 404 error pages are not covered by
377377
any firewall. This means you can't check for security or even access the
378378
user object on these pages. See :doc:`/controller/error_pages`
379379
for more details.
380-
381-
.. _`FOSUserBundle`: https://github.com/FriendsOfSymfony/FOSUserBundle

0 commit comments

Comments
 (0)