File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class that processes the login submit and 4) updates the main security config fi
73
73
}
74
74
}
75
75
76
- Edit the security.yml file in order to allow access to the ``/login``route : :
76
+ Edit the security.yml file in order to allow access to the ``/login `` route :
77
77
78
78
.. configuration-block ::
79
79
@@ -90,7 +90,7 @@ Edit the security.yml file in order to allow access to the ``/login``route ::
90
90
.. code-block :: xml
91
91
92
92
<!-- config/packages/security.xml -->
93
- <?xml version =" 1.0" encoding =" UTF-8" ?>
93
+ <?xml version =" 1.0" charset =" UTF-8" ?>
94
94
<srv : container xmlns =" http://symfony.com/schema/dic/security"
95
95
xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
96
96
xmlns : srv =" http://symfony.com/schema/dic/services"
@@ -105,7 +105,7 @@ Edit the security.yml file in order to allow access to the ``/login``route ::
105
105
106
106
.. code-block :: php
107
107
108
- // config/packages /security.php
108
+ // app/config /security.php
109
109
$container->loadFromExtension('security', [
110
110
// ...
111
111
'access_control' => [
@@ -117,7 +117,6 @@ Edit the security.yml file in order to allow access to the ``/login``route ::
117
117
],
118
118
]);
119
119
120
-
121
120
**Step 2. ** The template has very little to do with security: it just generates
122
121
a traditional HTML form that submits to ``/login ``:
123
122
You can’t perform that action at this time.
0 commit comments