Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel 8 logout 419 page expired

$this->renderable(function (Exception $e) {
    if ($e->getPrevious() instanceof IlluminateSessionTokenMismatchException) {
        return redirect()->route('login');
    };
});
Source by laracasts.com #
 
PREVIOUS NEXT
Tagged: #laravel #logout #page #expired
ADD COMMENT
Topic
Name
5+9 =