File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
user_guide_src/source/tutorial Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -20,8 +20,8 @@ Open the **app/Config/Filters.php** file and update the ``$methods`` property li
2020It configures the CSRF filter to be enabled for all **POST ** requests.
2121You can read more about the CSRF protection in :doc: `Security </libraries/security >` library.
2222
23- .. Warning :: In general, if you use ``$methods`` filters, you should :ref:`disable auto-routing <use-defined-routes-only>`.
24- Because auto-routing permits any HTTP method to access a controller.
23+ .. Warning :: In general, if you use ``$methods`` filters, you should :ref:`disable auto-routing <use-defined-routes-only>`
24+ because auto-routing permits any HTTP method to access a controller.
2525 Accessing the controller with a method you don't expect could bypass the filter.
2626
2727Create a form
You can’t perform that action at this time.
0 commit comments