I know i can do that and more to disable csrf
but i am modyfing admin generator(i want csrf when form submitted
manually by user) and that is the most unobtrusive solution I found in
docs but not working?
also
setting
$form->disableLocalCSRFProtection();
not work!


On 10 Maj, 07:41, Erkhembayar Gantulga <erheme...@gmail.com> wrote:
> Hi. niksfirefly
>
> If you want to disable it, remove the csrf_token line in your application
> config setting.yml.
> Or  keep it and add your form template $form->renderHiddenFields().
>
> Hope this would help.
>
> Erkhembayar Gantulga

-- 
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