Accounts.sendResetPasswordEmail

Server

Accounts.sendResetPasswordEmail(userId, [email])

import { Accounts } from 'meteor/accounts-base' Source

Send an email with a link the user can use to reset their password.

Arguments

userId String

The id of the user to send email to.

email String

Optional. Which address of the user's to send the email to. This address must be in the user's emails list. Defaults to the first email in the list.

doc_Meteor
2016-05-29 17:17:39
Comments
Leave a Comment

Please login to continue.