-
Notifications
You must be signed in to change notification settings - Fork 188
Description
Pulse Version
1.0.0-beta8
Laravel Version
10.8
PHP Version
8.2.0
Livewire Version
3.0.2
Database Driver & Version
No response
Description
Good morning,
I am writing to ask you about a problem. I set up a Laravel as Back End and I have three types of authentication. In config/auth I set these guards:
- user
- teachers
- administrator
Each of these is associated with a model:
- User
- Teacher
- Administrator
And therefore there are 3 tables in the DB:
- users
- teachers
- administrators
By setting Laravel Pulse all events are tracked correctly perhaps because "user" is the default guard.
For example, if a "teacher" logs in (with ID 5) it is shown on the Pulse dashboard that the "user" with ID 5 was logged in.
I would like to understand if it is possible to use Laravel Pulse in this case with multiple guards on multiple tables. I read about a similar case here on GitHub but perhaps reference was made to multiple types of users but always on the same table.
Thanks so much to anyone who wants to help me!
Steps To Reproduce
Install Laravel Pulse and then open de dashboard with /pulse