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

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

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

方法1:

{!! csrf_field() !!}

方法2:

<input type="hidden" name="_token" value="{{ csrf_token() }}">

方法3:

app/Http/Middleware/VerifyCsrfToken.php

 protected $except = [
        'your/route'
    ];

 

打赏 赞(1)
微信
支付宝
微信二维码图片

微信扫描二维码打赏

支付宝二维码图片

支付宝扫描二维码打赏

发表评论

电子邮件地址不会被公开。 必填项已用*标注

此站点使用Akismet来减少垃圾评论。了解我们如何处理您的评论数据