Skip to content

CSRF token validation in Controller is confusing #7817

Closed
@enumag

Description

@enumag

http://symfony.com/doc/current/controller/csrf_token_validation.html

In the example code the $submittedToken variable does not exist. I'd send a pull request but I don't know what the correct code should be here. I assume there are multiple ways - but there should be some example where to create the token, how to pass it to the action and how to get it these.

Metadata

Metadata

Assignees

No one assigned

    Labels

    SecurityactionableClear and specific issues ready for anyone to take them.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