Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Security] Integration with form for login #20645

Closed
@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