https://laracasts.com/discuss/....channels/laravel/how

how to redirect to login page when Laravel 419 error

App\Exceptions\Handler.php class, within the register() method, add the following:

$this->renderable(function (\Exception $e) {
if ($e->getPrevious() instanceof \Illuminate\Session\TokenMismatchException) {
return redirect()->route('login');
};
});