lots of changes

This commit is contained in:
2026-02-04 11:18:33 +00:00
parent d02d95e680
commit 4fdbfb0fb3
30 changed files with 1796 additions and 822 deletions

View File

@@ -23,7 +23,7 @@ export function SignIn() {
try {
const flow = step === "signIn" ? "signIn" : "signUp";
await signIn("password", { email, password, flow });
const next = nextPath || (flow === "signIn" ? "/dashboard" : "/onboarding");
const next = nextPath || (flow === "signIn" ? "/app/dashboard" : "/onboarding");
if (flow === "signIn") {
router.push(next);
} else {
@@ -41,7 +41,7 @@ export function SignIn() {
};
const handleGoogleSignIn = () => {
const next = nextPath || "/dashboard";
const next = nextPath || "/app/dashboard";
void signIn("google", { redirectTo: next });
};