Skip to content

Commit 53380f4

Browse files
committed
docs: fix text decoration
1 parent 87a677e commit 53380f4

1 file changed

Lines changed: 7 additions & 7 deletions

File tree

user_guide_src/source/libraries/honeypot.rst

Lines changed: 7 additions & 7 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 ``Application\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

@@ -20,8 +20,8 @@ from the ``$globals`` array, like:
2020

2121
.. literalinclude:: honeypot/001.php
2222

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

2727
********************
@@ -31,7 +31,7 @@ Customizing Honeypot
3131
Honeypot can be customized. The fields below can be set either in
3232
**app/Config/Honeypot.php** or in **.env**.
3333

34-
* ``hidden`` - true|false to control visibility of the honeypot field; default is ``true``
35-
* ``label`` - HTML label for the honeypot field, default is 'Fill This Field'
36-
* ``name`` - name of the HTML form field used for the template; default is 'honeypot'
37-
* ``template`` - form field template used for the honeypot; default is '<label>{label}</label><input type="text" name="{name}" value=""/>'
34+
* ``$hidden`` - ``true`` or ``false`` to control visibility of the honeypot field; default is ``true``
35+
* ``$label`` - HTML label for the honeypot field, default is ``'Fill This Field'``
36+
* ``$name`` - name of the HTML form field used for the template; default is ``'honeypot'``
37+
* ``$template`` - form field template used for the honeypot; default is ``'<label>{label}</label><input type="text" name="{name}" value="">'``

0 commit comments

Comments
 (0)