Closed Baspa closed 2 months ago
Hi @Baspa. Thanks for this, but I don't think it is needed.
This Filament package wraps the 404labfr/laravel-impersonate
package which already provides events, see here:
https://github.com/404labfr/laravel-impersonate?tab=readme-ov-file#events
You should be able to listen for the existing TakeImpersonation
.
Ah then it's not needed, thank you! @jszobody
In my Filament app I need to know when someone impersonates a user. To be able to do so I created an
Impersonated
event which has the impersonator and the user being impersonated. Please let me know if I need to make any changes.