Skip to content

Commit c4222a1

Browse files
Update security.rst
1 parent 1315b3e commit c4222a1

File tree

1 file changed

+4
-11
lines changed

1 file changed

+4
-11
lines changed

security.rst

Lines changed: 4 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1396,14 +1396,10 @@ You must enable this using the ``login_throttling`` setting:
13961396
# by default, the feature allows 5 login attempts per minute
13971397
login_throttling: null
13981398
1399-
# configure the maximum login attempts (per minute)
1399+
# configure the maximum login attempts
14001400
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
14071403
14081404
# use a custom rate limiter via its service ID
14091405
login_throttling:
@@ -1429,10 +1425,7 @@ You must enable this using the ``login_throttling`` setting:
14291425
<!-- by default, the feature allows 5 login attempts per minute -->
14301426
<login-throttling/>
14311427
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) -->
14361429
<login-throttling max-attempts="3" interval="15 minutes"/>
14371430
14381431
<!-- use a custom rate limiter via its service ID -->

0 commit comments

Comments
 (0)