Files
clinicpro/config/packages/rate_limiter.yaml
T
hamed de1a78a235 feat: Implement SMS sending functionality with KavehNegar and Rangineh providers
- Add SendSmsMessage class for encapsulating SMS message data.
- Create KavehNegarProvider and RanginehProvider classes implementing SmsProviderInterface for sending SMS.
- Implement SmsLogRepository and SmsTemplateRepository for managing SMS logs and templates.
- Develop SendSmsHandler for handling SMS sending messages.
- Create SmsService to manage SMS dispatching and logging.
- Add UserProfileController for managing user profiles with CRUD operations.
- Implement UserProfile entity and repository for user profile data management.
- Update symfony.lock and bootstrap.php for project dependencies and environment setup.
2026-06-09 22:00:34 +03:30

14 lines
400 B
YAML

framework:
rate_limiter:
# OTP send-code: max 5 requests per hour per IP (prevents SMS flood)
send_code:
policy: 'sliding_window'
limit: 5
interval: '60 minutes'
# Login: max 10 attempts per minute per IP (brute force protection)
login:
policy: 'fixed_window'
limit: 10
interval: '1 minute'