From 85847842509c562944f32ef44371833e620c7fd4 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Mon, 10 Nov 2025 22:18:48 +0000 Subject: [PATCH] Show helpful error message for Discord email mismatch cgen-c16fcef1fb7b4861aafe135456edb293 --- client/pages/Login.tsx | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/pages/Login.tsx b/client/pages/Login.tsx index f48a6e01..bdf4c286 100644 --- a/client/pages/Login.tsx +++ b/client/pages/Login.tsx @@ -96,6 +96,11 @@ export default function Login() { title: "Authentication Error", description: errorMessage, }); + } else if (errorType === "discord_no_match") { + toastError({ + title: "Discord Email Not Found", + description: decodeURIComponent(errorMessage) || "Your Discord email doesn't match any existing AeThex account. Please sign in with your email first.", + }); } } }, [location.search, toastError]);