File tree Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Expand file tree Collapse file tree 1 file changed +2
-10
lines changed Original file line number Diff line number Diff line change @@ -1452,17 +1452,9 @@ You must enable this using the ``login_throttling`` setting:
1452
1452
$mainFirewall = $security->firewall('main');
1453
1453
1454
1454
// by default, the feature allows 5 login attempts per minute
1455
- $mainFirewall->loginThrottling();
1456
-
1457
- // configure the maximum login attempts (per minute)
1458
- $mainFirewall->loginThrottling()
1459
- ->maxAttempts(3)
1460
- ;
1461
-
1462
- // configure the maximum login attempts in a custom period of time
1463
1455
$mainFirewall->loginThrottling()
1464
- ->maxAttempts(3)
1465
- ->interval('15 minutes')
1456
+ // ->maxAttempts(3) // Optional: You can configure the maximum attempts ...
1457
+ // ->interval('15 minutes') // ... and the period of time.
1466
1458
;
1467
1459
};
1468
1460
You can’t perform that action at this time.
0 commit comments