mercredi 24 janvier 2018

Laravel Multi-auth check if user logged in and hide/show navigation tab

I am using the Laravel multi-auth for multiple users. I have frontend controller for the public access where no login is required. I want to check there if the user is logged in. If so I want to hide Login nav and show Home/Dashboard nav link which on click should redirect users to his dashboard. How can I check this in front-end controller/view? Any help is appreciated. Thanks in advance.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire