Skip to content

Commit fed4a33

Browse files
authored
Merge pull request #5253 from kenjis/fix-docs-upgrade_security
docs: fix upgrade_security.rst
2 parents 096c6ac + 06cc51c commit fed4a33

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

user_guide_src/source/installation/upgrade_security.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ Documentations
1313
- :doc:`Security Documentation Codeigniter 4.X </libraries/security>`
1414

1515
.. note::
16-
If you use the `form helper </user_guide/helpers/form_helper.html>`_, then form_open() will automatically insert a hidden csrf field in your forms. So you do not have to upgrade this by yourself.
16+
If you use the :doc:`form helper </helpers/form_helper>` and enable the CSRF filter globally, then ``form_open()`` will automatically insert a hidden CSRF field in your forms. So you do not have to upgrade this by yourself.
1717

1818
What has been changed
1919
=====================
20-
- The method to implement csrf tokens to html forms has been changed.
20+
- The method to implement CSRF tokens to html forms has been changed.
2121

2222
Upgrade Guide
2323
=============
24-
1. To enable csrf protection in CI4 you have to enable it in ``app/Config/Filters.php``::
24+
1. To enable CSRF protection in CI4 you have to enable it in ``app/Config/Filters.php``::
2525

2626
public $globals = [
2727
'before' => [

0 commit comments

Comments
 (0)