Answer the question
In order to leave comments, you need to log in
Token error, Laravel?
Lord, tell me. What actually could be the matter? Laravel throws an error - TokenMismatchException in VerifyCsrfToken.php line 67. At the same time, the session exists, the user is authorized
Answer the question
In order to leave comments, you need to log in
https://learn.javascript.ru/csrf
You need to pass a secret token with every non-GET request.
In the form, insert an input with a csrf token:{!! csrf_field() !!}
Muddy topic))))
There are many different working options (up to setting the correct time zone!)
Here is proof: laravel.io/forum/01-30-2015-laravel5-tokenmismatch...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question