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' ];