From 299e6f5e4a4c7a57683aebf315c99df11214beb6 Mon Sep 17 00:00:00 2001 From: Javier Eguiluz Date: Wed, 25 Sep 2024 17:59:26 +0200 Subject: [PATCH] [Doctrine][Security] Remove an old article about registration forms --- _build/redirection_map | 1 + doctrine.rst | 1 - doctrine/registration_form.rst | 15 --------------- security.rst | 2 ++ 4 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 doctrine/registration_form.rst diff --git a/_build/redirection_map b/_build/redirection_map index 5c11914cfcb..8f31032e7a5 100644 --- a/_build/redirection_map +++ b/_build/redirection_map @@ -569,3 +569,4 @@ /frontend/encore/server-data /frontend/server-data /components/string /string /testing/http_authentication /testing#testing_logging_in_users +/doctrine/registration_form /security#security-make-registration-form diff --git a/doctrine.rst b/doctrine.rst index aba27545211..ca1ed25b7b5 100644 --- a/doctrine.rst +++ b/doctrine.rst @@ -1103,7 +1103,6 @@ Learn more doctrine/associations doctrine/events - doctrine/registration_form doctrine/custom_dql_functions doctrine/dbal doctrine/multiple_entity_managers diff --git a/doctrine/registration_form.rst b/doctrine/registration_form.rst deleted file mode 100644 index 7063b7157a4..00000000000 --- a/doctrine/registration_form.rst +++ /dev/null @@ -1,15 +0,0 @@ -How to Implement a Registration Form -==================================== - -This article has been removed because it only explained things that are -already explained in other articles. Specifically, to implement a registration -form you must: - -#. :ref:`Define a class to represent users `; -#. :doc:`Create a form ` to ask for the registration information (you can - generate this with the ``make:registration-form`` command provided by the `MakerBundle`_); -#. Create :doc:`a controller ` to :ref:`process the form `; -#. :ref:`Protect some parts of your application ` so that - only registered users can access to them. - -.. _`MakerBundle`: https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html diff --git a/security.rst b/security.rst index 7b1ba5b0b1d..03f41d1714e 100644 --- a/security.rst +++ b/security.rst @@ -449,6 +449,8 @@ the database:: Doctrine repository class related to the user class must implement the :class:`Symfony\\Component\\Security\\Core\\User\\PasswordUpgraderInterface`. +.. _security-make-registration-form: + .. tip:: The ``make:registration-form`` maker command can help you set-up the