Auth
changeEmail()
Use nhost.auth.changeEmail
to change a user’s email. This will send a confirm-email-change link in an email to the new email. Once the user clicks on the confirm-email-change link the email will be change to the new email.
Parameters
__namedParameters required ChangeEmailParams
Property | Type | Required | Notes |
---|---|---|---|
__namedParameters.newEmail | string | ✔️ | |
__namedParameters.options | RedirectOption |