Add event dispatcher in the email verification process

Created on 9 November 2020, about 4 years ago
Updated 4 February 2021, almost 4 years ago

Problem/Motivation

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).

Proposed resolution

Add event dispatcher in the verify method to allow other modules to react upstream the module conditions.

Feature request
Status

Fixed

Version

1.0

Component

Code

Created by

🇫🇷France xavier.masson Haute-Normandie

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024