Answers for "laravel reroute 419"

PHP
0

laravel reroute 419

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

Browse Popular Code Answers by Language