Reduce multipliers in brute force protection

This commit is contained in:
Joshua Ramon Enslin 2020-12-07 15:31:36 +01:00
parent cad5b4a6f8
commit ada82f07b6
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -46,8 +46,8 @@ final class MD_STD_SEC {
const BRUTE_FORCE_DELAY_DEFAULT = 2000; // 2000 microseconds = 2 milliseconds
const BRUTE_FORCE_DELAY_MULTIPLIER_COMMON = 1.08;
const BRUTE_FORCE_DELAY_MULTIPLIER_PER_USER = 3;
const BRUTE_FORCE_DELAY_MULTIPLIER_PER_IP = 8;
const BRUTE_FORCE_DELAY_MULTIPLIER_PER_USER = 1.8;
const BRUTE_FORCE_DELAY_MULTIPLIER_PER_IP = 4;
/**
* Prevent brute force attacks by delaying the login .