from datetime import timedelta

# -------------------- SECURITY SETTINGS --------------------
failed_attempts = {}   # {email: {"count": int, "last_attempt": datetime}}
ip_requests = {}       # {ip: [timestamps]}

MAX_ATTEMPTS = 5
LOCK_TIME = timedelta(minutes=10)

MAX_REQUESTS_PER_MIN = 20
RATE_LIMIT_WINDOW = timedelta(minutes=1)
