getgrav / grav-plugin-login

Grav Login Plugin
http://getgrav.org
MIT License
44 stars 54 forks source link

Add event hook for user login activated #242

Closed hughbris closed 4 years ago

hughbris commented 4 years ago

I just tested the plugin's onUserLoginRegistered event to see exactly when it fires. It fires when users are registered (as per the name) rather than when they activate their accounts.

I don't see a hook for the activation event, and that is really what I'm interested in. Could this event be added please? I'll have a go at adding it if you agree it's a useful enhancement.