CSRF token mismatch in post request in 3.6 version

后端 未结 4 759
别那么骄傲
别那么骄傲 2020-12-10 19:19

I have two different apps of cakephp. One has a version 3.5 and other 3.6.

When i used and built 3.5 app i did not have a problem of CSRF matching in post requ

4条回答
  •  心在旅途
    2020-12-10 19:59

    i had the same error, without using ajax, the problem was that admin theme was not using cakephp 3 form helper sintax, it was html.

    after i changed with Form->create() ?> Form->end() ?> it worked fine

提交回复
热议问题