- 🇳🇿New Zealand kent@passingphase.nz
The event subscriber user_email_verification.verify appears to be now in core.
The controller UserEmailVerificationVerify
has a verify
method who's actually not possible to alter the actual behavior, ex : when a user verify the account from the verify link if we decide to set the user account status as blocked until to confirm the email the user will see the following message to the site Your account has been blocked before the verification of the Email. An administrator will make an audit and unblock your account if the reason for the blocking was the Email verification.
and the administrator will receive a notification to verify the blocked email.
Using a event dispatcher to react on the verify event can let the application to act upstream (by activate the verified account by email before to let the module to show unexpected message explained before).
Add event dispatcher in the verify
method to allow other modules to react upstream the module conditions.
Fixed
1.0
Code
Not all content is available!
It's likely this issue predates Contrib.social: some issue and comment data are missing.
The event subscriber user_email_verification.verify appears to be now in core.