The CSRF token is invalid. Please try to resubmit the form

后端 未结 15 1441
粉色の甜心
粉色の甜心 2020-11-28 10:38

I\'m getting this error message every time I try to submit the form:

The CSRF token is invalid. Please try to resubmit the form

15条回答
  •  有刺的猬
    2020-11-28 10:49

    I had this error recently. Turns out that my cookie settings were incorrect in config.yml. Adding the cookie_path and cookie_domain settings to framework.session fixed it.

提交回复
热议问题