vendredi 21 juillet 2017

How to make Auth::user() for another table in laravel

When we login into laravel application we can get details of logged user through Auth::user(). But I want to make similar thing for another table for instance when user logs in it also stores information from stores table and I should be able to access it through Auth2::store().

What is the process and can anyone redirect me to the solution



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire