laravel 8 logout 419 page expired

Solutions on MaxInterview for laravel 8 logout 419 page expired by the best coders in the world

showing results for - "laravel 8 logout 419 page expired"
Claudia
23 Jan 2020
1$this->renderable(function (\Exception $e) {
2    if ($e->getPrevious() instanceof \Illuminate\Session\TokenMismatchException) {
3        return redirect()->route('login');
4    };
5});