Implementation
To use a custom email template, pass an options object as the second argument to therequestSignUpEmailCode function. This object should contain an html property with your custom HTML string.
Key Points:
- Pass
{ html: string }as the second argument torequestSignUpEmailCode. - In your HTML string, use the literal
{code}where you want the verification code to appear. - The verification server will automatically replace
{code}with the actual verification code.