Registered event not firing
When I register using filament register page (not admin creating new users), the Illuminate\Auth\Events\Registered is not firing and triggering my listener.
I have
in EventServiceProvider, and a simple logger in the listener's handle.
When I manually fire Registered event through Tinker, it works.
How do I go about resolving this? And also where and what file should I look into in filament in order to hook into the 'afterRegister' or whatever method?
Thanks!
2 Replies
Have you got php-fpm running with opcache? If so restart it
Noup, so it should be working? Filament user registering does fire Registered?
I switched to using model $dispatchesEvents = [] and did the logic in my event. Works nicely.
I still don't know why Registered doesn't work at all but this will do.