Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
fix: breaking signup page on error
Piyush Gupta645228b1c761
diff --git a/frontend/src/components/auth/EnterEmailStep.tsx b/frontend/src/components/auth/EnterEmailStep.tsxindex a74e9611cc..55988818f7 100644--- a/frontend/src/components/auth/EnterEmailStep.tsx+++ b/frontend/src/components/auth/EnterEmailStep.tsx@@ -54,7 +54,13 @@ export default function EnterEmailStep({incrementStep();} catch (e) {if (axios.isAxiosError(e)) {- const { message = "Something went wrong" } = e.response?.data as { message: string };+ let message = "Something went wrong";+ if (e?.status === 422) {+ message = "Invalid email";+ } else {+ message = (e.response?.data as { message: string })?.message || message;+ }+createNotification({type: "error",text: message