📜  laravel 8 logout 419 page expired - PHP代码示例

📅  最后修改于: 2022-03-11 14:54:45.634000             🧑  作者: Mango

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