Ticket #46 (closed defect: fixed)
csrf Token missing from forms
| Reported by: | cberg | Owned by: | boutell |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.0 |
| Component: | apostrophePlugin | Version: | Symfony 1.4 |
| Keywords: | Cc: | ||
| Symfony version: |
Description
When creating a plain new project using Symfony 1.4, the CSRF token is automatically activated.
As Apostrophe's forms are hand rendered, they're missing a call to the sfForm::renderHiddenFields method, to render those fields. Instead of adding, the CSRF token could be removed for these forms.
I could copy the whole templates into my own project and add the method call to all relevant forms, but then I would have to merge template changes myself.
Change History
Note: See
TracTickets for help on using
tickets.

