Show helpful error message for Discord email mismatch
cgen-c16fcef1fb7b4861aafe135456edb293
This commit is contained in:
parent
4061b52553
commit
8584784250
1 changed files with 5 additions and 0 deletions
|
|
@ -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]);
|
||||
|
|
|
|||
Loading…
Reference in a new issue