Skip to content

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

fix: navigate to selector after EmailDuplicationConfirmation dismissal

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