Wednesday, March 29, 2017

Laravel 5 - How to retrieve and set any user database granted roles while login in Laravel 5?

I'm using Laravel 5 and i need find a way to establish a new user session parameters from any given user of my database and use it's granted permissions/roles inside the database, i don't want to use the default root user from Laravel .env file once i login for the first time.

Any ideas?

Thanks



via Daniel

Advertisement