Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

Add notice if token is invalid

Terry Sutton2eac52228474
diff --git a/studio/pages/join/[slug].tsx b/studio/pages/join/[slug].tsx
index d92eec5b3af..e9b750eed38 100644
--- a/studio/pages/join/[slug].tsx
+++ b/studio/pages/join/[slug].tsx
@@ -110,8 +110,12 @@ const User = () => {
</div>
)}
+ {!tokenValidationInfo && (
+ <div className='pt-4 mt-4 border-t'>That invite token is invalid.</div>
+ )}
+
{tokenValidationInfo && !email_match && (
- <div className='pt-4 mt-4 border-t'>Sign to that account to accept this invitation.</div>
+ <div className='pt-4 mt-4 border-t'>Sign in to that account to accept this invitation.</div>
)}
{expired_token || token_does_not_exist && (