Quote:
Originally Posted by EvilLS1
About the only thing I can think of that would cause it to report all mistyped passwords/usernames would be if you placed the last bit of code from the instructions (the last edit to login.php) in the wrong place.
Make sure this bit of code:
Code:
$fstrk = "Strikes: $GLOBALS[strikes]/5\r\n";
$subject= 'WARNING: Failed admin logon in ' . $DB_site->appname . ' ' . $vboptions['templateversion'] . "\r\n\r\n";
$message="Someone is trying to login to your Admin CP!\n\n $fusername $fpassword $fipaddress Host: $iphostname\r\n $fstrk $freferer $fscriptpath $fdate $realname";
vbmail($vboptions['webmasteremail'], $subject, $message);
..is after this bit of code:
Code:
if ($logintype === 'cplogin' OR $logintype === 'modcplogin')
{
// log this error if attempting to access the control panel
require_once('./includes/functions_log_error.php');
Other than that I can't think of anything that would cause it.
|
Thankyou for your speedy response. It is in the right spot. It will just have to go down as a "vB X File".
I have had one or two of these, so am not excessively surprised. Luckily my users don't get their passwords wrong too often.