How to check whether authorized user in the ajax request in laravel 5?
Friends, tell me why the ajax request Auth::check()=false, if the user is logged in?
If it matters, the data requests a model backbone, X-CSRF-TOKEN is correctly set.
asked July 9th 19 at 10:44
If I am not mistaken CSRF-TOKEN for other purposes, there is no record of something like laravel_session?
Not exactly sure when making Ajax requests, the cookie is marked as http_only is also sent to the server?
Find more questions by tags AJAXLaravel