From 78deede9966da0ac376e261aa32f439401b79390 Mon Sep 17 00:00:00 2001 From: Stojan Dimitrovski Date: Wed, 11 Sep 2024 19:26:34 +0200 Subject: [PATCH] feat: update email rate-limit notice to inform about template change restrictions (#29087) * feat: update email rate-limit notice to inform about template change restrictions * apply suggestion from @J0 Co-authored-by: Joel Lee --------- Co-authored-by: Joel Lee --- .../EmailRateLimitsAlert/EmailRateLimitsAlert.tsx | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/apps/studio/components/interfaces/Auth/EmailRateLimitsAlert/EmailRateLimitsAlert.tsx b/apps/studio/components/interfaces/Auth/EmailRateLimitsAlert/EmailRateLimitsAlert.tsx index eaa002653e8..ab3ce0cb1a9 100644 --- a/apps/studio/components/interfaces/Auth/EmailRateLimitsAlert/EmailRateLimitsAlert.tsx +++ b/apps/studio/components/interfaces/Auth/EmailRateLimitsAlert/EmailRateLimitsAlert.tsx @@ -9,7 +9,7 @@ export function EmailRateLimitsAlert() { return ( - Built-in email service is rate-limited! + Email rate-limits and template changes You're using the built-in email service. The service has rate limits and it's not meant to be used for production apps. Check the{' '} @@ -27,8 +27,13 @@ export function EmailRateLimitsAlert() { href={`/project/${projectRef}/settings/auth#auth-config-smtp-form`} > custom SMTP server - {' '} - if you're planning on having large number of users. + + .
+ + You will not be able to modify the email templates unless you've set up a custom SMTP + server or Send Email Hook server, except if you had changed it before this restriction + went into effect. +
)