diff options
Diffstat (limited to 'config/default.yaml')
-rw-r--r-- | config/default.yaml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/config/default.yaml b/config/default.yaml index a213d5b0a..be5c8993c 100644 --- a/config/default.yaml +++ b/config/default.yaml | |||
@@ -10,10 +10,18 @@ webserver: | |||
10 | port: 9000 | 10 | port: 9000 |
11 | 11 | ||
12 | rates_limit: | 12 | rates_limit: |
13 | api: | ||
14 | # 50 attempts in 10 seconds | ||
15 | window: 10 seconds | ||
16 | max: 50 | ||
13 | login: | 17 | login: |
14 | # 15 attempts in 5 min | 18 | # 15 attempts in 5 min |
15 | window: 5 minutes | 19 | window: 5 minutes |
16 | max: 15 | 20 | max: 15 |
21 | signup: | ||
22 | # 2 attempts in 5 min (only succeeded attempts are taken into account) | ||
23 | window: 5 minutes | ||
24 | max: 2 | ||
17 | ask_send_email: | 25 | ask_send_email: |
18 | # 3 attempts in 5 min | 26 | # 3 attempts in 5 min |
19 | window: 5 minutes | 27 | window: 5 minutes |