resetPassword()
Overview
public boolean function resetPassword(
required string token
, required string password
)
Resets a password by looking up the supplied password reset token and encrypting the supplied password
Arguments
Name | Type | Required | Description |
---|---|---|---|
token | string | Yes | The temporary reset password token to look the user up with |
password | string | Yes | The new password |