6 months ago

I can't access header in controller construct

Posted 6 months ago by brunokaue

Hello guys, before I start, I apologize for my English.

I have a controller called AuthController, this controller just used when app have a project like link/project/{project} In this controller i have a cosntruct, it checks the request, if ajax need to be in header an api_token, if not, just use User::where('id', Auth::id())->first()

When i put in digital ocean this not working.

Someone can help me?

Please sign in or create an account to participate in this conversation.