Reduce multipliers in brute force protection
This commit is contained in:
parent
cad5b4a6f8
commit
ada82f07b6
|
@ -46,8 +46,8 @@ final class MD_STD_SEC {
|
||||||
|
|
||||||
const BRUTE_FORCE_DELAY_DEFAULT = 2000; // 2000 microseconds = 2 milliseconds
|
const BRUTE_FORCE_DELAY_DEFAULT = 2000; // 2000 microseconds = 2 milliseconds
|
||||||
const BRUTE_FORCE_DELAY_MULTIPLIER_COMMON = 1.08;
|
const BRUTE_FORCE_DELAY_MULTIPLIER_COMMON = 1.08;
|
||||||
const BRUTE_FORCE_DELAY_MULTIPLIER_PER_USER = 3;
|
const BRUTE_FORCE_DELAY_MULTIPLIER_PER_USER = 1.8;
|
||||||
const BRUTE_FORCE_DELAY_MULTIPLIER_PER_IP = 8;
|
const BRUTE_FORCE_DELAY_MULTIPLIER_PER_IP = 4;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Prevent brute force attacks by delaying the login .
|
* Prevent brute force attacks by delaying the login .
|
||||||
|
|
Loading…
Reference in New Issue
Block a user