Skip to content

Commit 87a677e

Browse files
committed
docs: fix section level
1 parent b7ef46c commit 87a677e

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

user_guide_src/source/libraries/honeypot.rst

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
=====================
1+
##############
22
Honeypot Class
3-
=====================
3+
##############
44

55
The Honeypot Class makes it possible to determine when a Bot makes a request to a CodeIgniter4 application,
66
if it's enabled in ``Application\Config\Filters.php`` file. This is done by attaching form fields to any form,
@@ -11,8 +11,9 @@ assumed the request is coming from a Bot, and you can throw a ``HoneypotExceptio
1111
:local:
1212
:depth: 2
1313

14+
*****************
1415
Enabling Honeypot
15-
=====================
16+
*****************
1617

1718
To enable a Honeypot, changes have to be made to the **app/Config/Filters.php**. Just uncomment honeypot
1819
from the ``$globals`` array, like:
@@ -23,8 +24,9 @@ A sample Honeypot filter is bundled, as ``system/Filters/Honeypot.php``.
2324
If it is not suitable, make your own at ``app/Filters/Honeypot.php``,
2425
and modify the ``$aliases`` in the configuration appropriately.
2526

27+
********************
2628
Customizing Honeypot
27-
=====================
29+
********************
2830

2931
Honeypot can be customized. The fields below can be set either in
3032
**app/Config/Honeypot.php** or in **.env**.

0 commit comments

Comments
 (0)