File tree Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Expand file tree Collapse file tree 1 file changed +4
-11
lines changed Original file line number Diff line number Diff line change @@ -1396,14 +1396,10 @@ You must enable this using the ``login_throttling`` setting:
1396
1396
# by default, the feature allows 5 login attempts per minute
1397
1397
login_throttling : null
1398
1398
1399
- # configure the maximum login attempts (per minute)
1399
+ # configure the maximum login attempts
1400
1400
login_throttling :
1401
- max_attempts : 3
1402
-
1403
- # configure the maximum login attempts in a custom period of time
1404
- login_throttling :
1405
- max_attempts : 3
1406
- interval : ' 15 minutes'
1401
+ max_attempts : 3 # per minute ...
1402
+ # interval: '15 minutes' # ... or in a custom period
1407
1403
1408
1404
# use a custom rate limiter via its service ID
1409
1405
login_throttling :
@@ -1429,10 +1425,7 @@ You must enable this using the ``login_throttling`` setting:
1429
1425
<!-- by default, the feature allows 5 login attempts per minute -->
1430
1426
<login-throttling />
1431
1427
1432
- <!-- configure the maximum login attempts (per minute) -->
1433
- <login-throttling max-attempts =" 3" />
1434
-
1435
- <!-- configure the maximum login attempts in a custom period of time -->
1428
+ <!-- configure the maximum login attempts; attribute `interval` is optional (default: minutes) -->
1436
1429
<login-throttling max-attempts =" 3" interval =" 15 minutes" />
1437
1430
1438
1431
<!-- use a custom rate limiter via its service ID -->
You can’t perform that action at this time.
0 commit comments