Conditionally sending verification email

so i m using invite link to add user and since i m sending an invitaiton link i dont want to send them verification mail

You should be able to pass along a parameter to the signup so that you can identify whether it’s a user signing up on his own or via invite link. Then you could distinguish this in a pre-user registration hook and set the email_verified attribute to true. This should then not trigger the verification mail.
But a bit more detail about the exact flow, what API endpoints you’re calling / how you generate the invite link would be helpful.

3 Likes

Thanks for helping on this one @mathiasconradt!

1 Like

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.