mercredi 12 août 2020

Auth::user()->name is not working in package view in laravel?

I have developed package for laravel in which i am trying to fetch login user name bu it is giving error. package is currently in vendor folder

error

ErrorException (E_ERROR)
Trying to get property 'name' of non-object

How i can get current logged in user name?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire