Skip to content

Commit c139547

Browse files
authored
docs: Small typos in libraries/honeypot.rst
Small typos in libraries/honeypot.rst
1 parent 84e06d0 commit c139547

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

user_guide_src/source/libraries/honeypot.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Honeypot Class
33
##############
44

55
The Honeypot Class makes it possible to determine when a Bot makes a request to a CodeIgniter4 application,
6-
if it's enabled in **app\Config\Filters.php** file. This is done by attaching form fields to any form,
6+
if it's enabled in **app/Config/Filters.php** file. This is done by attaching form fields to any form,
77
and this form field is hidden from a human but accessible to a Bot. When data is entered into the field, it's
88
assumed the request is coming from a Bot, and you can throw a ``HoneypotException``.
99

@@ -22,7 +22,7 @@ from the ``$globals`` array, like:
2222

2323
A sample Honeypot filter is bundled, as **system/Filters/Honeypot.php**.
2424
If it is not suitable, make your own at **app/Filters/Honeypot.php**,
25-
and modify the ``$aliases`` in the configuration appropriately.
25+
and modify the ``$aliases`` in **app/Config/Filters.php** appropriately.
2626

2727
********************
2828
Customizing Honeypot
@@ -37,4 +37,4 @@ Honeypot can be customized. The fields below can be set either in
3737
* ``$template`` - form field template used for the honeypot; default is ``'<label>{label}</label><input type="text" name="{name}" value="">'``
3838
* ``$container`` - container tag for the template; default is ``'<div style="display:none">{template}</div>'``.
3939
If you enables CSP, you can remove ``style="display:none"``.
40-
* ``$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'``
40+
* ``$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'``

0 commit comments

Comments
 (0)