File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff 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 >
You can’t perform that action at this time.
0 commit comments