I am trying to make a package for Laravel.
I'm getting an issue when i use Auth::user()
in controller in package folder it won't return the currently logged in user, it will only return null
When I put Auth::user()
in a controller at App\Http\Controllers
I do receive the currently logged in user.
Please help me regarding this.