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

后端 未结 15 1606
粉色の甜心
粉色の甜心 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:47

    In case you don't want to use form_row or form_rest and just want to access value of the _token in your twig template. Use the following:

    
    

提交回复
热议问题