Module

x/live/deps.ts>supabase.GoTrueClient#resetPasswordForEmail

Open-Source web editor based on Preact, Tailwind and TypeScript. The other side of code.
Go to Latest
method supabase.GoTrueClient.prototype.resetPasswordForEmail
import { supabase } from "https://dotland.deno.dev/x/live@1.63.12/deps.ts";
const { GoTrueClient } = supabase;

Sends a password reset request to an email address. This method supports the PKCE flow.

Parameters

email: string

The email address of the user.

optional
options: { redirectTo?: string; captchaToken?: string; }

The URL to send the user to after they click the password reset link.

Returns

Promise<{ data: { }; error: null; } | { data: null; error: AuthError; }>