The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
fix reset password redirectTo
Alaister Younge32958b75826
diff --git a/studio/components/interfaces/SignIn/ForgotPasswordForm.tsx b/studio/components/interfaces/SignIn/ForgotPasswordForm.tsxindex 9527ca2d17f..666ce805b6e 100644--- a/studio/components/interfaces/SignIn/ForgotPasswordForm.tsx+++ b/studio/components/interfaces/SignIn/ForgotPasswordForm.tsx@@ -18,7 +18,13 @@ const ForgotPasswordForm = () => {message: `Sending password reset email...`,})- const { error } = await auth.resetPasswordForEmail(email)+ const { error } = await auth.resetPasswordForEmail(email, {+ redirectTo: `${+ process.env.NEXT_PUBLIC_VERCEL_ENV === 'preview'+ ? process.env.NEXT_PUBLIC_VERCEL_URL+ : process.env.NEXT_PUBLIC_SITE_URL+ }/reset-password`,+ })if (!error) {ui.setNotification({