Skip to content

The open alternative to Salesforce, designed for AI.

fix: fix auth in prod env (#481)

Jérémy M91608a37f206
diff --git a/front/src/pages/auth/Index.tsx b/front/src/pages/auth/Index.tsx
index 189ab286e85..d6b90008408 100644
--- a/front/src/pages/auth/Index.tsx
+++ b/front/src/pages/auth/Index.tsx
@@ -108,7 +108,7 @@ export function Index() {
<MainButton
title="Continue with Email"
onClick={onPasswordLoginClick}
- disabled={!authFlowUserEmail}
+ disabled={!authFlowUserEmail && visible}
variant="secondary"
fullWidth
/>