It would be nice to have the possibility to set to false the user.verify_email
attribute in a pre-registration action in order to prevent the automatic send of the verification email.
Today the attributes verify_email
and email_verified
are not available in the pre-registration event
object.
Use case is sending verification email only after specific business conditions (checked in post-login actions).
See also Do not send email verification in select cases
The suggested workaround is to disable the email templates, precluding us the possibility to use the API /api/v2/jobs/verification-email
.