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

Skip to content

[2.4][Form][BC break?] error with CSRF protection disabled, but not for forms explicitly #9429

Closed
@craue

Description

@craue

The config

framework:
  csrf_protection: false
  form: ~

works fine with Symfony 2.0 - 2.3, but when upgrading to the master branch (currently commit dec28d1), I get LogicException: CSRF protection needs to be enabled in order to use CSRF protection for forms.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions