1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
|
<?php
/**
* Account production config file for UserFrosting. You may override/extend this in your site's configuration file to customize deploy settings.
*
*/
return [
// See http://security.stackexchange.com/a/59550/74909 for the inspiration for our throttling system
'throttles' => [
'check_username_request' => [
'method' => 'ip',
'interval' => 3600,
'delays' => [
40 => 1000
]
],
'password_reset_request' => [
'method' => 'ip',
'interval' => 3600,
'delays' => [
2 => 5,
3 => 10,
4 => 20,
5 => 40,
6 => 80,
7 => 600
]
],
'registration_attempt' => [
'method' => 'ip',
'interval' => 3600,
'delays' => [
2 => 5,
3 => 10,
4 => 20,
5 => 40,
6 => 80,
7 => 600
]
],
'sign_in_attempt' => [
'method' => 'ip',
'interval' => 3600,
'delays' => [
4 => 5,
5 => 10,
6 => 20,
7 => 40,
8 => 80,
9 => 600
]
],
'verification_request' => [
'method' => 'ip',
'interval' => 3600,
'delays' => [
2 => 5,
3 => 10,
4 => 20,
5 => 40,
6 => 80,
7 => 600
]
]
]
];
|