From 2a6032a8cf8177602726ab91dde16ea2bd7899bc Mon Sep 17 00:00:00 2001 From: Daniel Hougaard <62331820+DanielHougaard@users.noreply.github.com> Date: Sat, 9 Mar 2024 09:03:29 +0100 Subject: [PATCH] Navigate to select org instead of dashboard --- .../src/views/Login/components/InitialStep/InitialStep.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/views/Login/components/InitialStep/InitialStep.tsx b/frontend/src/views/Login/components/InitialStep/InitialStep.tsx index bf3920c9d..cd33a1465 100644 --- a/frontend/src/views/Login/components/InitialStep/InitialStep.tsx +++ b/frontend/src/views/Login/components/InitialStep/InitialStep.tsx @@ -14,7 +14,7 @@ import attemptLogin from "@app/components/utilities/attemptLogin"; import { Button, Input } from "@app/components/v2"; import { useServerConfig } from "@app/context"; -import { navigateUserToOrg } from "../../Login.utils"; +import { navigateUserToSelectOrg } from "../../Login.utils"; type Props = { setStep: (step: number) => void; @@ -85,7 +85,7 @@ export const InitialStep = ({ setStep, email, setEmail, password, setPassword }: return; } - await navigateUserToOrg(router); + await navigateUserToSelectOrg(router); // case: login does not require MFA step createNotification({