Skip to content

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

Revert "fix: navigate to selector after EmailDuplicationConfirmation dismissal"

Igor Correa01517aa0d131
diff --git a/frontend/src/pages/auth/LoginPage/components/PasswordStep/PasswordStep.tsx b/frontend/src/pages/auth/LoginPage/components/PasswordStep/PasswordStep.tsx
index a81f5db348..9b1cc15e4b 100644
--- a/frontend/src/pages/auth/LoginPage/components/PasswordStep/PasswordStep.tsx
+++ b/frontend/src/pages/auth/LoginPage/components/PasswordStep/PasswordStep.tsx
@@ -270,10 +270,9 @@ export const PasswordStep = ({
return (
<EmailDuplicationConfirmation
onRemoveDuplicateLater={() =>
- navigate({
- to: "/login/select-organization",
- search: { org_id: organizationId }
- })
+ navigateUserToOrg({ navigate, organizationId }).catch(() =>
+ createNotification({ text: "Failed to navigate user", type: "error" })
+ )
}
/>
);