Skip to content

Commit

Permalink
Replace SecurityComponent with FormProtectionComponent
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad authored May 29, 2024
1 parent af53e7c commit acc7c7a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions en/views/helpers/form.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2018,12 +2018,12 @@ Closing the Form
* ``$secureAttributes`` - Optional. Allows you to provide secure attributes
which will be passed as HTML attributes into the hidden input elements
generated for the SecurityComponent.
generated for the FormProtectionComponent.

The ``end()`` method closes and completes a form. Often, ``end()`` will only
output a closing form tag, but using ``end()`` is a good practice as it
enables FormHelper to insert the hidden form elements that
:php:class:`Cake\\Controller\\Component\\SecurityComponent` requires:
:php:class:`Cake\\Controller\\Component\\FormProtection` requires:

.. code-block:: php
Expand Down

0 comments on commit acc7c7a

Please sign in to comment.