Skip to content

Commit 71c2995

Browse files
Routing for OS users fix (#7)
1 parent bf6f81e commit 71c2995

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

pages/login.tsx

+6-1
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,12 @@ const Login: NextPage = () => {
9090
window.location.href = initialFlow?.return_to
9191
return
9292
}
93-
router.push("/welcome")
93+
if (MiscInfo.isManaged) {
94+
router.push("/welcome")
95+
} else {
96+
router.push("/refinery/projects")
97+
}
98+
9499
})
95100
.then(() => { })
96101
.catch(handleFlowError(router, "login", setInitialFlow))

0 commit comments

Comments
 (0)