【发布时间】:2016-05-14 23:36:36
【问题描述】:
为什么 laravel 5 csrf_token 的值总是空的?
我怎样才能得到那个令牌值?
我试过了,
{!! csrf_token !!} , {{ csrf_token }} and
{{ Form::open() }} ....{{ Form::close() }}
我的输出
<input type="hidden" name="_token"></input>
【问题讨论】:
-
在创建表单时是否使用
web中间件?
标签: php laravel laravel-5.2 csrf-protection