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
protected $listen = [
        Registered::class => [
            SendEmailVerificationNotification::class,
            AfterUserRegistration::class,
        ],
    ];

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!
Was this page helpful?