|
|
|
@ -223,7 +223,15 @@
|
|
|
|
|
exit;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$_SESSION['_config']['errmsg'] = _("Incorrect email address and/or Pass Phrase.");
|
|
|
|
|
$query = "select * from `users` where `email`='$email' and (`password`=old_password('$pword') or `password`=sha1('$pword') or
|
|
|
|
|
`password`=password('$pword')) and `verified`=0 and `deleted`=0";
|
|
|
|
|
$res = mysql_query($query);
|
|
|
|
|
if(mysql_num_rows($res) <= 0)
|
|
|
|
|
{
|
|
|
|
|
$_SESSION['_config']['errmsg'] = _("Incorrect email address and/or Pass Phrase.");
|
|
|
|
|
} else {
|
|
|
|
|
$_SESSION['_config']['errmsg'] = _("Your account has not been verified yet, please check your email account for the signup messages.");
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if($_REQUEST['process'] && $_REQUEST['oldid'] == 1)
|
|
|
|
|