+ 1
How can I access user in the constructor of parent controller laravel 6? The Auth::user() == null
I try to access user but they say that the Middleware doesn't run yet it run after the constructor.
2 ответов
0
Hello friends I do some research and I found the solution thanks a lot
0
The solution is to define a closure and there we can access user