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:
@@ -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' "))
|
||||
{
|
||||
|
Reference in New Issue
Block a user