Remove superfluous parentheses

This commit is contained in:
jrenslin committed 2021-09-17 15:52:37 +02:00
1 parent 80ab3216d5
commit a6ebab3e03
3 files changed
+17 -16

No files matched your search

+6 -5
View File
@@ -8,6 +8,12 @@
* Gathers wrappers for handling basic security operations.
*/
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 = 1.8;
const BRUTE_FORCE_DELAY_MULTIPLIER_PER_IP = 4;
/**
* Function for retrieving the anti-csrf token or generating it if need be.
*
@@ -45,11 +51,6 @@ public static function validateAntiCsrfToken():bool {
}
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 = 1.8;
const BRUTE_FORCE_DELAY_MULTIPLIER_PER_IP = 4;
/**
* Prevent brute force attacks by delaying the login .
*