laravel5.6登录后出现如下提示
The page has expired due to inactivity.
Please refresh and try again
解决方案:
找到以下文件 app/Http/Middleware/VerifyCsrfToken.php,添加路由
protected $except = [
// 你自己的路由信息
'user/*'
];
laravel5.6登录后出现如下提示
The page has expired due to inactivity.
Please refresh and try again
解决方案:
找到以下文件 app/Http/Middleware/VerifyCsrfToken.php,添加路由
protected $except = [
// 你自己的路由信息
'user/*'
];