Skip to content

Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.

fix: send lower case emails to backend

Meet Shah3fc907f07699
diff --git a/frontend/src/components/signup/EnterEmailStep.tsx b/frontend/src/components/signup/EnterEmailStep.tsx
index 2b5b0d1389..1b1a5c8a3a 100644
--- a/frontend/src/components/signup/EnterEmailStep.tsx
+++ b/frontend/src/components/signup/EnterEmailStep.tsx
@@ -50,7 +50,8 @@ export default function EnterEmailStep({
// If everything is correct, go to the next step
if (!emailCheckBool) {
try {
- await mutateAsync({ email });
+ await mutateAsync({ email: email.toLowerCase() });
+ setEmail(email.toLowerCase())
incrementStep();
} catch (e) {
if (axios.isAxiosError(e)) {