dimanche 24 juillet 2022

Auth::user() always return null

recently I have installed spatie/permissions in a fresh Laravel 9 installation. before I install this package whenever I called Auth::user() it returns back with the result with the currently authenticated user. but now after I installed spatie/permissions it always returns null in any controller, but it's working normally in views.

is there anyone have the same issue here. and how he managed to fix it.



from Newest questions tagged laravel-5 - Stack Overflow https://ift.tt/UAzvbtD
via IFTTT

Aucun commentaire:

Enregistrer un commentaire