Added login rate throttling

This commit is contained in:
Jan Böhmer 2023-02-11 21:55:24 +01:00
parent d03586d9d5
commit 03e52bf598
6 changed files with 175 additions and 3 deletions

View file

@ -0,0 +1,2 @@
framework:
lock: '%env(LOCK_DSN)%'

View file

@ -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: