User registration needs an event to control the sending of emails
>>> [!note] Migrated issue <!-- Drupal.org comment --> <!-- Migrated from issue #3108042. --> Reported by: [mglaman](https://www.drupal.org/user/2416470) >>> <p>Follow up on <span class="drupalorg-gitlab-issue-link drupalorg-gitlab-link-wrapper"><a href="https://git.drupalcode.org/project/jsonapi_user_resources/-/work_items/3107573" class="drupalorg-gitlab-link">https://git.drupalcode.org/project/jsonapi_user_resources/-/work_items/3107573</a></span>.</p> <p>Also, the current event doesn't make it obvious it runs during validation. So repurpose current event for success, make a new one for validation.</p>
issue