import EmailOTPChallenge from '@auth0/auth0-acul-js/email-otp-challenge';const emailOTPChallenge = new EmailOTPChallenge();emailOTPChallenge.submitCode({ code: '123456',});
Requests a new OTP code to be sent to the user’s email.
Example
Report incorrect code
Copy
Ask AI
import EmailOTPChallenge from '@auth0/auth0-acul-js/email-otp-challenge';const emailOTPChallenge = new EmailOTPChallenge();emailOTPChallenge.resendCode();
import EmailOTPChallenge from '@auth0/auth0-acul-js/email-otp-challenge';const emailOTPChallenge = new EmailOTPChallenge();emailOTPChallenge.submitCode({ code: '123456',});