Answers for "laravel 8 logout 419 page expired"

PHP
0

laravel 8 logout 419 page expired

$this->renderable(function (\Exception $e) {
    if ($e->getPrevious() instanceof \Illuminate\Session\TokenMismatchException) {
        return redirect()->route('login');
    };
});
Posted by: Guest on August-12-2021

Browse Popular Code Answers by Language