mirror of
https://github.com/supabase/supabase.git
synced 2026-10-18 15:49:09 +03:00
Merge branch 'master' of github.com:supabase/supabase
This commit is contained in:
commit
61a0a2ae6d
1 file changed
-5
@@ -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
|
||||
|
||||
Reference in new issue
Block a user