Why is my CSRF token empty when using Form::open()?

后端 未结 5 1255
滥情空心
滥情空心 2021-02-15 17:38

I am just starting out so please forgive me. I have a solid grasp on CodeIgniter, so I understand what is going on. However, I am noticing that my CSRF token is empty w

5条回答
  •  误落风尘
    2021-02-15 18:07

    It should be

    {!! Form::open((array('action' => 'MyController@method')))  !!}
        ...
     {!! Form::close() !!}
    

提交回复
热议问题