Skip to content

Commit c219941

Browse files
committed
Merge branch '4.3' into 4.4
* 4.3: Fixed minor issues
2 parents 8169ab1 + 11203d8 commit c219941

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

security/access_control.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Take the following ``access_control`` entries as an example:
6464
<rule path="^/admin" role="ROLE_USER_HOST" host="symfony\.com$"/>
6565
<rule path="^/admin" role="ROLE_USER_METHOD" methods="POST, PUT"/>
6666
<!-- when defining multiple roles, users must have at least one of them (it's like an OR condition) -->
67-
<rule path="^/admin" roles="ROLE_ADMIN, ROLE_MANAGER" />
67+
<rule path="^/admin" roles="ROLE_ADMIN, ROLE_MANAGER"/>
6868
</config>
6969
</srv:container>
7070
@@ -309,7 +309,7 @@ key:
309309
access is granted if the expression is TRUE or the user has ROLE_ADMIN -->
310310
<rule path="^/_internal/secure"
311311
role="ROLE_ADMIN"
312-
allow-if="'127.0.0.1' == request.getClientIp() or request.header.has('X-Secure-Access')" />
312+
allow-if="'127.0.0.1' == request.getClientIp() or request.header.has('X-Secure-Access')"/>
313313
</config>
314314
</srv:container>
315315

security/form_login_setup.rst

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -457,6 +457,3 @@ As routing is done *before* security, 404 error pages are not covered by
457457
any firewall. This means you can't check for security or even access the
458458
user object on these pages. See :doc:`/controller/error_pages`
459459
for more details.
460-
461-
.. _`FOSUserBundle`: https://github.com/FriendsOfSymfony/FOSUserBundle
462-
>>>>>>> 3.4

0 commit comments

Comments
 (0)