I am trying to automatically save form with predefined values -
without display form but with validation
but i am getting error:
Widget "_csrf_token" does not exist?

i can pass $this->disableLocalCSRFProtection();
in form configure() but i want to check for csrf when form is diplayed


according to docs: csrf is disabled when third argument set to false?

What is wrong with my code?
  $form = new exampleDoctrineForm(null,array(),false);
             $form->bind($values);
$form->save();

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