Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.
TypeScript agentaiai-agentsall-in-onecrmcrm-systememaillinearmcpmessagingnotesnotionofficerustslackslack-alternativestartupstartup-toolstypescriptworkspace
fix(auth): raise mobile welcome email rate limit to 100/hour per IP (#5299)
Jacob Beckermaneaa5aa4f2e9e
diff --git a/services/authentication_service/src/rate_limit_config.rs b/services/authentication_service/src/rate_limit_config.rsindex 950db7fbf0..9c9d1660d6 100644--- a/services/authentication_service/src/rate_limit_config.rs+++ b/services/authentication_service/src/rate_limit_config.rs@@ -30,5 +30,10 @@ pub static RATE_LIMIT_CONFIG: RateLimitConfig = RateLimitConfig {merge_email_daily: (5, 86400),create_user_hourly: (50, 3600),- mobile_welcome_email: (5, 3600), // 10 attempts per hour per IP+ // 100 attempts per hour per IP. Mobile carriers put thousands of phones+ // behind one CGNAT address, so a low cap here rejects real visitors on the+ // marketing site's mobile signup form rather than abusers. Abuse stays+ // bounded because an address can only ever be sent this email once (the+ // handler claims it in `mobile_welcome_email` before sending).+ mobile_welcome_email: (100, 3600),};