forked from extern/egroupware
fix typo causing number of failed attempts on IP whitelist not to be used
This commit is contained in:
parent
a81dfdcfd8
commit
46e97f8975
@ -1125,7 +1125,7 @@ class Session
|
|||||||
$GLOBALS['egw_info']['server']['unsuccessful_ip_whitelist'], $matches) &&
|
$GLOBALS['egw_info']['server']['unsuccessful_ip_whitelist'], $matches) &&
|
||||||
($key=array_search($ip, $matches[1])) !== false)
|
($key=array_search($ip, $matches[1])) !== false)
|
||||||
{
|
{
|
||||||
$blocked = !empty($matches[3][$key]) && $false_ip > $matches[3][$key];
|
$blocked = !empty($matches[2][$key]) && $false_ip > $matches[2][$key];
|
||||||
}
|
}
|
||||||
else // else check with general number
|
else // else check with general number
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user