S
S
Sergey Burduzha2020-01-10 13:17:27
Laravel
Sergey Burduzha, 2020-01-10 13:17:27

How to solve "TokenMismatchException in VerifyCsrfToken.php line 67:" error in laravel 5.2?

Good afternoon.
Just started my first acquaintance with laravel.
Added authentication through the terminal
php artisan make:auth
Registered, but when I want to enter I get an error from the header.
I read on various forums that this is a known bug, tried several solutions,
Added a meta tag in the header

<meta name="csrf-token" content="{{ csrf_token() }}">

php artisan session:table
php artisan make:auth
php artisan migrate

And even set the rights to the sessions package . What else needs to be done?
chmod 777 storage/framework/sessions/

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question