1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-30 19:30:25 +02:00

Fixes #1117 - Duplicate failed login messages. Also corrected accidental localhost/developer IP banning issue.

This commit is contained in:
Cameron
2015-07-07 12:07:17 -07:00
parent 45ffe2afb5
commit a27dc90ca7
5 changed files with 14 additions and 5 deletions

View File

@@ -634,7 +634,7 @@ if (isset($_POST['register']) && intval($pref['user_reg']) === 1)
// check for multiple signups from the same IP address. But ignore localhost
if ($allData['user_ip'] != e107::LOCALHOST_IP)
if ($allData['user_ip'] != e107::LOCALHOST_IP && $allData['user_ip'] != e107::LOCALHOST_IP2)
{
if($ipcount = $sql->select('user', '*', "user_ip='".$allData['user_ip']."' and user_ban !='2' "))
{