From acc7c7a052e5d210cea841979e2ade8f0f94b968 Mon Sep 17 00:00:00 2001 From: ADmad Date: Wed, 29 May 2024 13:57:19 +0530 Subject: [PATCH] Replace SecurityComponent with FormProtectionComponent --- en/views/helpers/form.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/views/helpers/form.rst b/en/views/helpers/form.rst index 707eff8b7b..117ccf8188 100644 --- a/en/views/helpers/form.rst +++ b/en/views/helpers/form.rst @@ -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