Skip to content

Commit b9d43bc

Browse files
samejrericallam
authored andcommitted
Revert redirect back to the dashboard for now
1 parent 661c3a6 commit b9d43bc

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

apps/webapp/app/routes/magic.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ export async function loader({ request }: LoaderFunctionArgs) {
66
const redirectTo = await getRedirectTo(request);
77

88
await authenticator.authenticate("email-link", request, {
9-
//Todo: only redirect to /mfa if mfa enabled
10-
successRedirect: redirectTo ?? "/login/mfa",
9+
successRedirect: redirectTo ?? "/",
1110
failureRedirect: "/login/magic",
1211
});
1312
}

0 commit comments

Comments
 (0)