Skip to content

Commit 285fd1b

Browse files
committed
[#11108] Add inline code for the filename
1 parent 95ff38f commit 285fd1b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

security/form_login_setup.rst

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ class that processes the login submit and 4) updates the main security config fi
7474
}
7575
}
7676

77-
Edit the security.yml file in order to allow access to the ``/login`` route:
77+
Edit the ``security.yml`` file in order to allow access for anyone to the
78+
``/login`` route:
7879

7980
.. configuration-block::
8081

@@ -85,7 +86,7 @@ Edit the security.yml file in order to allow access to the ``/login`` route:
8586
# ...
8687
8788
access_control:
88-
- { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
89+
- { path: ^/login$, roles: IS_AUTHENTICATED_ANONYMOUSLY }
8990
# ...
9091
9192
.. code-block:: xml
@@ -99,7 +100,7 @@ Edit the security.yml file in order to allow access to the ``/login`` route:
99100
http://symfony.com/schema/dic/services/services-1.0.xsd">
100101
101102
<config>
102-
<rule path="^/login" role="IS_AUTHENTICATED_ANONYMOUSLY" />
103+
<rule path="^/login$" role="IS_AUTHENTICATED_ANONYMOUSLY" />
103104
<!-- ... -->
104105
</config>
105106
</srv:container>

0 commit comments

Comments
 (0)