开发者

Every Post routes gives 419 page expired error in laravel even if csrf token is there

My project developed using laravel6 on apache2. It is working properly in my local system.

When I deployed that project in staging server, My project's all routes are working. but all POST routes gives 419 page expired error even if there is CSRF token in every form.

Login screen appears but after I click on submit button post route is called and it gives me 419 error.

I also created one custom route for testing. but it will give same 419 error. In short, my every post route is giving 419 error.

I checked with giving necessary permission to storage folder, cac开发者_JAVA技巧he folder, also changed env configuration setting( SESSION_DOMAIN, SESSION_SECURE_COOKIE). but no any solution worked.

Is there any apache misconfiguration?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜