No, I did not modify the form template. But, I fixed the problem. I re-generated the admin module, now it works. Probably it went wrong when I updated Symfony.
On 7 apr, 14:28, Frank He <[email protected]> wrote: > I only met this issue if I specifically copy/past csrf hidden field into a > form and sutmit it. > If the form are auto-generated, or use link-to, url-for, this won't happend. > have you modified your form to manually add csrf field? > > On Tue, Apr 7, 2009 at 5:09 AM, HAUSa < > > [email protected]> wrote: > > > When I try to execute a batch action (delete) which is created by the > > admin generator, I get an "_csrf_token [CSRF attack detected.]" > > message. > > I don't know where that went wrong, I made a lot of changes. But, > > mostly in the generator.yml and in the form classes. But then again, I > > cannot find a CSRF field or something in the form classes. > > > Does anyone know how this is possible? --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
