Documentation Customizing Invites

Customizing Invites

On, new users need to be invited to your site. The default behavior for invitations is to allow any user accept an invitation regardless of whether their email address matches what the invitation was sent to. Here’s a helper function you can use to force the invitation email to match the user’s email address: