Give more detailed no such user error

This commit is contained in:
zontreck 2024-05-16 03:36:58 -07:00
parent f9453612d3
commit a21ec5e3cc
2 changed files with 4 additions and 2 deletions

View file

@ -11,7 +11,7 @@ $last = $js['last'];
$password = $js["password"];
// Password is hashed
// Compare against hash in database + : md5(salt)
// Compare against hash in database + : (salt)
$DB = get_DB();
$id = NULLKEY;
@ -64,7 +64,7 @@ if($clientKey == CLIENTPSK) {
}
}
else {
$reason = "No such user";
$reason = "No such user ($first.$last) found";
}
}