Skip to content

Commit

Permalink
Merge pull request #7861 from cakephp/ADmad-patch-1
Browse files Browse the repository at this point in the history
Replace SecurityComponent with FormProtectionComponent
  • Loading branch information
othercorey authored May 29, 2024
2 parents af53e7c + 049f5a8 commit 11b4c44
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\\FormProtectionComponent` requires:

.. code-block:: php
Expand Down

0 comments on commit 11b4c44

Please sign in to comment.