Added a hint about potentially wrong passwords to the error message

This commit is contained in:
root 2007-06-13 09:10:30 +00:00
parent 5bd31d33e9
commit 8dae9e3ee8

View file

@ -78,6 +78,7 @@
showfooter();
exit;
}
}
if($id == 1)
@ -86,7 +87,7 @@
(`password`=old_password('$password') or `password`=sha1('$password') or `password`=password('$password'))";
if(mysql_num_rows(mysql_query($query)) <= 0)
{
$_SESSION['_config']['errmsg'] = _("I'm sorry, I couldn't match your login details to your certificate to an account on this system.");
$_SESSION['_config']['errmsg'] = _("I'm sorry, I couldn't match your login details (password) to your certificate to an account on this system.");
$id = 0;
} else {
$query = "insert into `tverify` set `memid`='$memid', `URL`='$URL', `CN`='$CN', `created`=NOW()";