Commit 461c368a authored by Leigh B Stoller's avatar Leigh B Stoller

Always return error string from checkpassword.

parent c4f05c21
......@@ -506,7 +506,7 @@ function CHECKPASSWORD($uid, $password, $name, $email, &$error)
# Watch for caller errors since this calls to the shell.
if (empty($uid) || empty($password) || empty($name) || empty($email)) {
$error = "";
$error = "Internal Error";
return 0;
# Ascii only.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment