Subject to permissions, it is currently possible for anonymous users to make a registration without providing any registrant information. In particular the registrant email address.
Also. If an authenticated user does not submit a registrant email, then event emails are not sent. This feature smells like a bug.
I can certainly imagine situation where it's okay to register anonymously for an event, but there should be some configuration options with sensible defaults for the registrant email.
- For anonymous users.
Require the registrant email address
-- Default TRUE
- For authenticated users.
Allow registrant email address if different to user account
-- Default FALSE and no display of registrant email input. Event emails are sent to registered email
-- If TRUE. Registrant email input is displayed. Event emails are sent here.
--- Help text 'The email address of the registrant, if different to your user account'.
There will also be cases (GDPR ??) where an email is required but an opt-out should be provided, but I don't think we need to go there in this issue.