symfony2 CSRF invalid

前端 未结 3 509
深忆病人
深忆病人 2020-12-08 08:14

Okay, so today I updated my database with new information from our \'live\' database... And since then I\'ve been having issues on one of my forms. If you need any code le

3条回答
  •  生来不讨喜
    2020-12-08 08:20

    This error had me crazy for days! Thanks krishna! If in your form template you choose to not use the default form behavior {{ form_widget(form) }} you SHOULD put {{ form_rest(form) }} Hope this could help anyone else!

提交回复
热议问题