我正在使用以下代码,我正在
密码重置功能需要appName,publicServerURL和emailAdapter。
使用代码:
try {
ParseUser::requestPasswordReset($data['user_email']);
// Password reset request was sent successfully
echo "1";
exit;
} catch (ParseException $ex) {
// Password reset failed, check the exception message
return array("error" => 1, "success" => 0, 'message' => $ex->getMessage());
exit;
}