Navigate to select org instead of dashboard

This commit is contained in:
Daniel Hougaard
2024-03-09 09:03:29 +01:00
parent ec4d1dd1b2
commit 2a6032a8cf

View File

@@ -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({