From 8dae9e3ee8ae8495b8b83491b6e1093c15c257b1 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 13 Jun 2007 09:10:30 +0000 Subject: [PATCH] Added a hint about potentially wrong passwords to the error message --- tverify/index.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tverify/index.php b/tverify/index.php index ffc6986..22bc3b7 100644 --- a/tverify/index.php +++ b/tverify/index.php @@ -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()";