if ($login == '') {
$error="Please enter name or id";
+ print "$error";
return false;
}
if ($password1 == '' || $password2 == '') {
$error="Please enter password";
+ print "$error";
return false;
}
if ($password1 != $password2) {
$error = "The two passwords that you entered do not match.";
+ print "$error";
return false;
}
$login_id=0;
}
$error=nodes::resetPassword($login_id,$login,$vercode,$password1);
+ print "$error\n";
- $error="Password changed. Now you can login with your new password.";
return 0;
}
?>