jeudi 23 novembre 2017

Laravel Auth::user() session custom?

I have three table in database. one is users and second one is role and other is user_role.

in role table has id and name.

in user_role table has user_id and roll_id.

now I want to set session when user will log in to app. llike Auth::user()->roll



from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/2hQ3zIA
via IFTTT

Aucun commentaire:

Enregistrer un commentaire