Fully disable cookies in Laravel 4 API

前端 未结 7 503
余生分开走
余生分开走 2020-12-14 04:58

I am using Laravel to build a RESTful API. I use Basic HTTP Auth (Authenticate header), with this filter:



        
7条回答
  •  南方客
    南方客 (楼主)
    2020-12-14 05:40

    Remove 'Illuminate\Cookie\CookieServiceProvider', from your providers array in app.php. It should do the trick :)

提交回复
热议问题