Skip to main content
Module

x/appwrite/mod.ts>Account#createRecovery

[READ-ONLY] Official Appwrite Deno SDK 🦕
Go to Latest
method Account.prototype.createRecovery
Re-export
import { Account } from "https://deno.land/x/appwrite@10.0.0/mod.ts";

Create password recovery

Sends the user an email with a temporary secret key for password reset. When the user clicks the confirmation link he is redirected back to your app password reset URL with the secret key and email address values attached to the URL query string. Use the query string params to submit a request to the PUT /account/recovery endpoint to complete the process. The verification link sent to the user's email address is valid for 1 hour.

Parameters

email: string
url: string