sendResetPasswordEmailCode

Sends a reset password code to the email address for first-factor reverification.

Use it when the user can't verify with their password, for example after verifyWithPassword fails with form_password_pwned. Complete it with verifyWithResetPasswordEmailCode.

Parameters

emailAddressId

The ID of the email address, from a reset_password_email_code factor in SessionVerification.supportedFirstFactors.