Even if rate limiting is added, a user can still request OTPs too quickly (e.g., spamming resend every 5 seconds). Fix: Block resend if time since last OTP < 60 seconds.
Even if rate limiting is added, a user can still request OTPs too quickly (e.g., spamming resend every 5 seconds).
Fix: Block resend if time since last OTP < 60 seconds.