Hook into the registration handler
Created 6 years ago by emergingdzns

I need to perform some additional tasks on a user account after they register. I need to create some new table entries and such for a specific module. So I'm wondering if there's a way to "listen" on the register form handler without having to modify any of the core code? I have published the module but there's no events or anything I can find outside of the core.

piterden  —  6 years ago Best Answer

You could change ANY code in Pyro, without modifying the core.

Try to add the UserWasCreated listener to your addon service provider.

emergingdzns  —  6 years ago

Thanks @piterden that's actually exactly what I needed. I didn't notice the $listeners in the service provider. Duh.

piterden  —  6 years ago

NP, man ))