LaravelDaily / Laravel-AdminLTE3-Boilerplate

Boilerplate adminpanel: Laravel 6.0 + AdminLTE 3 (Bootstrap 4) and simple CRUD examples. Based on new QuickAdminPanel 2019.
https://2019.quickadminpanel.com
118 stars 57 forks source link

i want to store roles in session #3

Closed RVP04 closed 4 years ago

RVP04 commented 5 years ago

I have users and their roles. I want to load all the roles of a user into a session when they logged in.

PovilasKorop commented 5 years ago

@RVP04 roles should be in auth()->user()->roles()

RVP04 commented 5 years ago

I want to store in a session

RVP04 commented 4 years ago

Thank you @PovilasKorop