feat: add rate limit : a user can update 25 domains per day

This commit is contained in:
Maël Gangloff
2024-07-21 14:56:10 +02:00
parent b45bbe63f5
commit 43c4c9a33d
8 changed files with 200 additions and 18 deletions

6
.env
View File

@@ -50,3 +50,9 @@ JWT_SECRET_KEY=%kernel.project_dir%/config/jwt/private.pem
JWT_PUBLIC_KEY=%kernel.project_dir%/config/jwt/public.pem
JWT_PASSPHRASE=827c9f8cce8bb82e75b2aec4a14a61f572ac28c7a8531f08dcdf1652573a7049
###< lexik/jwt-authentication-bundle ###
###> symfony/lock ###
# Choose one of the stores below
# postgresql+advisory://db_user:db_password@localhost/db_name
LOCK_DSN=flock
###< symfony/lock ###