@@ -218,18 +218,18 @@ The Login Form and Process
218
218
~~~~~~~~~~~~~~~~~~~~~~~~~~
219
219
220
220
* ``login_path `` (type: ``string ``, default: ``/login ``)
221
- This is the path that the user will be redirected to (unless `` use_forward ``
222
- is set to ``true ``) when he/she tries to access a protected resource
223
- but isn't fully authenticated.
221
+ This is the route or path that the user will be redirected to (unless
222
+ `` use_forward `` is set to ``true ``) when he/she tries to access a
223
+ protected resource but isn't fully authenticated.
224
224
225
225
This path **must ** be accessible by a normal, un-authenticated user, else
226
226
you may create a redirect loop. For details, see
227
227
":ref: `Avoid Common Pitfalls<book-security-common-pitfalls> `".
228
228
229
229
* ``check_path `` (type: ``string ``, default: ``/login_check ``)
230
- This is the path that your login form must submit to. The firewall will
231
- intercept any requests (``POST `` requests only, by default) to this URL
232
- and process the submitted login credentials.
230
+ This is the route or path that your login form must submit to. The
231
+ firewall will intercept any requests (``POST `` requests only, by default)
232
+ to this URL and process the submitted login credentials.
233
233
234
234
Be sure that this URL is covered by your main firewall (i.e. don't create
235
235
a separate firewall just for ``check_path `` URL).
0 commit comments