Skip to content

[Security] Integration with form for login #20645

@tkleinhakisa

Description

@tkleinhakisa

Hello,

I was wondering if it could be interesting to provide a intergration between the security and form components for the login part.
The security listeners for login work with the request object directly. It's easy to create a formType class and use it to display the form, but it will never be submitted.

I see two main benefits of using a formType for the login:

  • templating: use the same markup as in other form without writing all the html, with the form_* twig functions
  • validation: ease validation of the scalar values of the fields (without security considerations) like an email format

Do you think it is worth working on it ? If so where should it live ? Any other recommandations ?

Thank you

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy