Fix reference to incorrect array part in MD_STD_SEC's brute force
protection
This commit is contained in:
parent
dc9d7abe14
commit
258781307d
|
@ -102,7 +102,7 @@ final class MD_STD_SEC {
|
||||||
// Translate counters into delay multipliers
|
// Translate counters into delay multipliers
|
||||||
$delay_multiplier_common = $loginLog['common']['count'];
|
$delay_multiplier_common = $loginLog['common']['count'];
|
||||||
$delay_multiplier_per_user = $loginLog['usr'][$hash_user]['count'];
|
$delay_multiplier_per_user = $loginLog['usr'][$hash_user]['count'];
|
||||||
$delay_multiplier_per_ip = $loginLog['usr'][$hash_ip]['count'];
|
$delay_multiplier_per_ip = $loginLog['ip'][$hash_ip]['count'];
|
||||||
|
|
||||||
// Calculate delay
|
// Calculate delay
|
||||||
$delay_micoseconds = \intval(self::BRUTE_FORCE_DELAY_DEFAULT *
|
$delay_micoseconds = \intval(self::BRUTE_FORCE_DELAY_DEFAULT *
|
||||||
|
|
Loading…
Reference in New Issue
Block a user