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
74
74
}
75
75
}
76
76
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:
78
79
79
80
.. configuration-block ::
80
81
@@ -85,7 +86,7 @@ Edit the security.yml file in order to allow access to the ``/login`` route:
85
86
# ...
86
87
87
88
access_control :
88
- - { path: ^/login, roles: IS_AUTHENTICATED_ANONYMOUSLY }
89
+ - { path: ^/login$ , roles: IS_AUTHENTICATED_ANONYMOUSLY }
89
90
# ...
90
91
91
92
.. code-block :: xml
@@ -99,7 +100,7 @@ Edit the security.yml file in order to allow access to the ``/login`` route:
99
100
http://symfony.com/schema/dic/services/services-1.0.xsd" >
100
101
101
102
<config >
102
- <rule path =" ^/login" role =" IS_AUTHENTICATED_ANONYMOUSLY" />
103
+ <rule path =" ^/login$ " role =" IS_AUTHENTICATED_ANONYMOUSLY" />
103
104
<!-- ... -->
104
105
</config >
105
106
</srv : container >
You can’t perform that action at this time.
0 commit comments