I'm building a Laravel website and I'm using the database driver to manage sessions. I created the sessions table in database and migrated with php artisan. Everything works as expected. What I really want to do now is to check the role of the users that are online but I don't know how to get this with the fields of the sessions table in the database. I don't really understand how the sessions table work, because I see that it registers a new row when I access to the login page, but it doesn't change when the user has logged in and when the user has logged out. All I wanted is to check the role of the users active in the app.... Someone can help me with how to get to this? Thank you!
from Newest questions tagged laravel-5 - Stack Overflow http://ift.tt/1UklKoQ
via IFTTT
Aucun commentaire:
Enregistrer un commentaire