sendSetPasswordEmail( )


Sends a site member an email with a link to set their password.

The sendSetPasswordEmail() function returns a Promise that resolves when the set password link is emailed to the member.

The set password link is valid for 3 hours, and it can be used only once. If the link expires, no changes are made to the password.

Method Declaration
Copy
Method Parameters
emailstringRequired

Login email of the member whose password will be set.


optionsSetPasswordEmailOptions

Email display options.

Returns
Return Type:Promise<boolean>
Was this helpful?
Yes
No