mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-24 04:44:35 +02:00
Added login rate throttling
This commit is contained in:
parent
d03586d9d5
commit
03e52bf598
6 changed files with 175 additions and 3 deletions
2
config/packages/lock.yaml
Normal file
2
config/packages/lock.yaml
Normal file
|
@ -0,0 +1,2 @@
|
|||
framework:
|
||||
lock: '%env(LOCK_DSN)%'
|
|
@ -26,7 +26,8 @@ security:
|
|||
check_path: 2fa_login_check
|
||||
enable_csrf: true
|
||||
|
||||
|
||||
login_throttling:
|
||||
max_attempts: 5 # per minute
|
||||
|
||||
# https://symfony.com/doc/current/security/form_login_setup.html
|
||||
form_login:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue