Reset Password
Your password reset link is invalid, probably because it has expired. Ask for a new one.
$_POST['userid'], 'password' => $_POST['newpassword'], ]; if (strlen($_POST['newpassword']) < 5) { $actionerror = 'Your new password must be at least 5 characters long.'; } else if ($_POST['newpassword'] !== $_POST['cnewpassword']) { $actionerror = 'Your new passwords do not match.'; } else if (!$users->modifyUser($newUser['userid'], $newUser)) { $actionerror = 'Error changing password.'; } else { $actionsuccess = true; } } if ($action && !@$actionsuccess) echo 'Error: '.$actionerror.'
'; if (@$actionsuccess) { ?>The password for was successfully changed!.