diff --git a/user_guide_src/source/libraries/honeypot.rst b/user_guide_src/source/libraries/honeypot.rst index e034e0dc08db..c6ebf14af0ce 100644 --- a/user_guide_src/source/libraries/honeypot.rst +++ b/user_guide_src/source/libraries/honeypot.rst @@ -3,7 +3,7 @@ Honeypot Class ############## The Honeypot Class makes it possible to determine when a Bot makes a request to a CodeIgniter4 application, -if it's enabled in **app\Config\Filters.php** file. This is done by attaching form fields to any form, +if it's enabled in **app/Config/Filters.php** file. This is done by attaching form fields to any form, and this form field is hidden from a human but accessible to a Bot. When data is entered into the field, it's assumed the request is coming from a Bot, and you can throw a ``HoneypotException``. @@ -22,7 +22,7 @@ from the ``$globals`` array, like: A sample Honeypot filter is bundled, as **system/Filters/Honeypot.php**. If it is not suitable, make your own at **app/Filters/Honeypot.php**, -and modify the ``$aliases`` in the configuration appropriately. +and modify the ``$aliases`` in **app/Config/Filters.php** appropriately. ******************** Customizing Honeypot @@ -37,4 +37,4 @@ Honeypot can be customized. The fields below can be set either in * ``$template`` - form field template used for the honeypot; default is ``''`` * ``$container`` - container tag for the template; default is ``'
'``. If you enables CSP, you can remove ``style="display:none"``. -* ``$containerId`` - [Since v4.3.0] this setting is used only when you enables CSP. You can change the id attribute for the container tag; default is ``'hpc'`` +* ``$containerId`` - [Since v4.3.0] this setting is used only when you enable CSP. You can change the id attribute for the container tag; default is ``'hpc'``