addCSRFProtection(null); http://groups.google.com/group/symfony-users/browse_thread/thread/08d7a1e4b53f3bb0
On Nov 18, 8:20 pm, "Antoine S." <antoine.spodobal...@gmail.com> wrote: > Hi,> > if your customised form extends sfForm, it should not be a problem, > and include the csrf, and valid it. > > Don't forget to display it in the template if you don't use 'echo > $form' > > On Nov 10, 9:59 am, Sebastian Göttschkes > > <sebastian.goettsch...@googlemail.com> wrote: > > Hello, > > > I'm a bit lost here as I try to create a form manually. > > > My goal is this: I want to add a login form to every page within the > > project. So I added this form (written manually) to the layout.php, > > which works ok! When I send the login-form, symfony handels the > > request ok and uses the correct module and action, but struggles as > > there is no csrf-token present (which is obvious, as I didn't add > > one). > > > Can anybody help me out how to solve this problem? > > > Regards, > > Sebastian > > -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@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=.