Page expire à Laravel
<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() }}">
// Need to increase or set client_max_body_size in your nginx config file.
http {
#...
client_max_body_size 100m;
#...
}
// Restart nginx
Check @csrf need to be in <form>
$this->renderable(function (\Exception $e) {
if ($e->getPrevious() instanceof \Illuminate\Session\TokenMismatchException) {
return redirect()->route('login');
};
});