When you do $this->disableLocalCSRFProtection();
You have to do this too (AFAIK it works for my code) :

$this->getValidator('_csrf_token')->setOption('required', false);

Cheers,



Before Printing, Think about Your Environmental Responsibility!
Avant d'Imprimer, Pensez à Votre Responsabilitée Environnementale!


On Tue, Jun 15, 2010 at 5:24 PM, DC <ciprian.dob...@gmail.com> wrote:

> Hello.
>
> I`m using ahDoctrineEasyEmbeddedRelationsPlugin in the amin part of my
> app.
> My problem is I still get the CSRF attack errors whenever I want to
> save, even though I added
>
> $this->disableLocalCSRFProtection();
>
> to ALL of my form filters.
>
> Can anyone help?
>
> Also, I can`t figure out how to configure my form display part of the
> generator.yml without loosing the subforms.
>
> --
> 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<symfony-users%2bunsubscr...@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