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

NameTypeRequiredDescription
tokenstringYesThe temporary reset password token to look the user up with
passwordstringYesThe new password