Срок действия страницы истекает в Ларавеле
<meta name="csrf-token" content="{{ csrf_token() }}">
//if not work
composer dump-autoload
Xerothermic Xenomorph
<meta name="csrf-token" content="{{ csrf_token() }}">
//if not work
composer dump-autoload
<meta name="csrf-token" content="{{ csrf_token() }}">
You may forgot to put @csrf in your form
$this->renderable(function (\Exception $e) {
if ($e->getPrevious() instanceof \Illuminate\Session\TokenMismatchException) {
return redirect()->route('login');
};
});
add "@csrf" to your form that you are submitting.