?
auth.requestEmailChange
Send a code to confirm a change to the signed-in user's email.
auth.requestEmailChange(email) → Promise<void>
Start changing the signed-in user's email. The platform sends a code to the new address; complete it with confirmEmailChange. Requires an active session.
Parameters
email
string
RequiredThe new email address.
Usage
await auth.requestEmailChange('new@example.com');