From 548f750698f8b9fda13aff278e9a2e71424038a6 Mon Sep 17 00:00:00 2001 From: Nandgopal-R Date: Tue, 10 Mar 2026 12:17:31 +0530 Subject: [PATCH 1/2] Redirect to dashboard after signup --- src/routes/signup.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/routes/signup.tsx b/src/routes/signup.tsx index 3778afa1..0a47f470 100644 --- a/src/routes/signup.tsx +++ b/src/routes/signup.tsx @@ -93,7 +93,6 @@ function Signup() { email, password, name, - callbackURL: window.location.origin + '/email-verified', // Redirect to Frontend after verification }, { onRequest: () => { @@ -103,7 +102,8 @@ function Signup() { onSuccess: () => { console.log('Signup Successful!') setLoading(false) - setSuccess(true) + // Redirect directly to dashboard since email verification is disabled + window.location.href = '/dashboard' }, onError: (ctx: { error: Error }) => { console.error('Signup Error:', ctx) From 6542b4f411320d06fa1759846ab7322db4a62b4e Mon Sep 17 00:00:00 2001 From: Nandgopal-R Date: Tue, 10 Mar 2026 12:22:09 +0530 Subject: [PATCH 2/2] Fix signup flow and add public fields API --- src/routes/signup.tsx | 44 ------------------------------------------- 1 file changed, 44 deletions(-) diff --git a/src/routes/signup.tsx b/src/routes/signup.tsx index 0a47f470..ac654d06 100644 --- a/src/routes/signup.tsx +++ b/src/routes/signup.tsx @@ -38,8 +38,6 @@ function Signup() { const [loading, setLoading] = useState(false) const [strength, setStrength] = useState(null) - const [success, setSuccess] = useState(false) - const [showPassword, setShowPassword] = useState(false) const [showConfirmPassword, setShowConfirmPassword] = useState(false) @@ -120,48 +118,6 @@ function Signup() { } } - if (success) { - return ( -
-
-
-
- - - - - -
-
-

Check your email

-

- We've sent a verification link to{' '} - {email}. -
- Please check your inbox to verify your account. -

- - Go to Sign In - -
-
- ) - } - return (