欢迎光临
我们一直在努力

laravel5.6版本 The page has expired due to inactivity. Please refresh and try again

laravel5.6登录后出现如下提示

The page has expired due to inactivity. 
Please refresh and try again

解决方案:

找到以下文件 app/Http/Middleware/VerifyCsrfToken.php,添加路由

    protected $except = [
        // 你自己的路由信息
        'user/*'
    ];

赞(0)
版权归原作者所有,如有侵权请告知。达维营-前端网 » laravel5.6版本 The page has expired due to inactivity. Please refresh and try again

评论 抢沙发

  • 昵称 (必填)
  • 邮箱 (必填)
  • 网址