Skip to content

Update form "login" and "login_check" to use same URL? #6126

Closed
@weaverryan

Description

@weaverryan

When setting up a login form, we have the user create 2 routes (e.g. /login and /login_check). Someone at SymfonyCon asked me, wouldn't it be easier (to write and understand) if we just used the /login URL for both? form_login already only handles POST requests, so the GET would just render the login controller.

Metadata

Metadata

Assignees

No one assigned

    Labels

    FormactionableClear and specific issues ready for anyone to take them.good first issueIdeal for your first contribution! (some Symfony experience may be required)hasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions