laravel - CSRF token always changes
问题 Well this is the problem I am facing from yesterday. It is always giving me TokenMismatchException and when I digged in and compared a few things, I found that on my local server, the _token field never changes. But on my production, it does. And that's the reason it kept giving me TokenMismatchException . Does anyone know how to fix this error. I have seen this question Went through documentation. Wrote several codeception tests. <input id="token" type="hidden" value="{{ csrf_token() }}">