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.
via Chebli Mohamed
Aucun commentaire:
Enregistrer un commentaire