Reduce factors for setting anti-brute force delays
This commit is contained in:
parent
ced5a65122
commit
bbac217aa0
|
@ -15,8 +15,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.04;
|
const BRUTE_FORCE_DELAY_MULTIPLIER_COMMON = 1.04;
|
||||||
const BRUTE_FORCE_DELAY_MULTIPLIER_PER_USER = 2.2;
|
const BRUTE_FORCE_DELAY_MULTIPLIER_PER_USER = 2.0;
|
||||||
const BRUTE_FORCE_DELAY_MULTIPLIER_PER_IP = 1.8;
|
const BRUTE_FORCE_DELAY_MULTIPLIER_PER_IP = 1.6;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Function for retrieving the anti-csrf token or generating it if need be.
|
* Function for retrieving the anti-csrf token or generating it if need be.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user