Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Method setValues() in Forms\Container is erasing CsrfProtection token #39

Closed
ZZromanZZ opened this issue Sep 29, 2014 · 1 comment
Closed

Comments

@ZZromanZZ
Copy link
Contributor

When I use method setValues() with parameter $erase = true, this method erases Csrf protection token and Csrf protection fails.

@fsiwiec
Copy link

fsiwiec commented Oct 6, 2014

Yes, I was kinda surprised too. I understand that it "should" empty all form controls, but Im not sure if rendering csrf useless is good behaviour.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants