Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

fix: sign up redirect (#28279)

Alaister Young70ef8ecc6f40
diff --git a/apps/studio/components/layouts/SignInLayout/SignInLayout.tsx b/apps/studio/components/layouts/SignInLayout/SignInLayout.tsx
index cf65385a68b..056ecd46d17 100644
--- a/apps/studio/components/layouts/SignInLayout/SignInLayout.tsx
+++ b/apps/studio/components/layouts/SignInLayout/SignInLayout.tsx
@@ -63,11 +63,6 @@ const SignInLayout = ({
await queryClient.resetQueries()
router.push(getReturnToPath())
- } else {
- // if the user doesn't have a token, he needs to go back to the sign-in page
- const redirectTo = buildPathWithParams('/sign-in')
- router.replace(redirectTo)
- return
}
})
.catch(() => {}) // catch all errors thrown by auth methods