Reduce factors for setting anti-brute force delays

This commit is contained in:
Joshua Ramon Enslin 2022-08-14 18:12:33 +02:00
parent ced5a65122
commit bbac217aa0
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE

View File

@ -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.