Added a hint about potentially wrong passwords to the error message
This commit is contained in:
parent
5bd31d33e9
commit
8dae9e3ee8
1 changed files with 2 additions and 1 deletions
|
@ -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()";
|
||||
|
|
Loading…
Reference in a new issue