Why are unable to the user of the module in laravel 5.5?

Now begin to write in laravel. Decided to create the admin model for this tutorial https://web-programming.com.ua/realizaciya-modulno...

It worked, just not the pier to user using $request->user() or Auth::user(), both methods return null.

In the HomeController in the folder app/controllers, and it works perfectly for the controller in the module - no. Tell me why and how to fix it?

Thanks in advance.
June 10th 19 at 16:34
1 answer
June 10th 19 at 16:36
Have you looked what is in the $request variable?
You may not connect properly class Request. If the controller module after the installation of the namespace the necessary classes?
use Illuminate\Http\Request;

Find more questions by tags Laravel