You must render the hiddens fields.

twig:
<form .... >
{{ form_hidden(form) }}
.....
<input type='submit' />
</form>

2011/4/5 symfonyMan <ezziani.cha...@gmail.com>

> Hello,
>
> i got this error when i try to submit my form. The CSRF token is
> invalid. Please try to resubmit the form
>
> it worked good in PR8 and when i updated to PR10 ...
>
> thanks
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to