The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.
TypeScript aialternativeauthdatabasedenoembeddingsexamplefirebasenextjsoauth2pgvectorpostgispostgrespostgresqlpostgrestrealtimesupabasevectorswebsockets
Add callout for reset password email (#38999)
Joshen Lima93903e81c87
diff --git a/apps/studio/components/interfaces/SignIn/ForgotPasswordWizard.tsx b/apps/studio/components/interfaces/SignIn/ForgotPasswordWizard.tsxindex 11f39cba3af..2cc021b1ff4 100644--- a/apps/studio/components/interfaces/SignIn/ForgotPasswordWizard.tsx+++ b/apps/studio/components/interfaces/SignIn/ForgotPasswordWizard.tsx@@ -10,6 +10,7 @@ import { useResetPasswordMutation } from 'data/misc/reset-password-mutation'import { BASE_PATH } from 'lib/constants'import { auth } from 'lib/gotrue'import { Button, Form_Shadcn_, FormControl_Shadcn_, FormField_Shadcn_, Input_Shadcn_ } from 'ui'+import { Admonition } from 'ui-patterns'import { FormItemLayout } from 'ui-patterns/form/FormItemLayout/FormItemLayout'const forgotPasswordSchema = z.object({@@ -78,6 +79,11 @@ const ConfirmResetCodeForm = ({ email }: { email: string }) => {className="flex flex-col pt-4 space-y-4"onSubmit={codeForm.handleSubmit(onCodeEntered)}>+ <Admonition+ type="default"+ title="Check your email for a reset code"+ description="You'll receive an email if an account associated with the email address exists"+ /><FormField_Shadcn_control={codeForm.control}name="code"diff --git a/apps/studio/components/interfaces/SignIn/SignInMfaForm.tsx b/apps/studio/components/interfaces/SignIn/SignInMfaForm.tsxindex 5697db039ed..c1e09f73f7c 100644--- a/apps/studio/components/interfaces/SignIn/SignInMfaForm.tsx+++ b/apps/studio/components/interfaces/SignIn/SignInMfaForm.tsx@@ -175,7 +175,12 @@ export const SignInMfaForm = ({ context = 'sign-in' }: SignInMfaFormProps) => {</li>)}<li>- <Link href="/logout">Force sign out and clear cookies</Link>+ <Link+ href="/logout"+ className="text-sm transition text-foreground-light hover:text-foreground"+ >+ Force sign out and clear cookies+ </Link></li><li><Linkdiff --git a/apps/studio/pages/forgot-password.tsx b/apps/studio/pages/forgot-password.tsxindex 03f7a5a75fa..8952cd12cc6 100644--- a/apps/studio/pages/forgot-password.tsx+++ b/apps/studio/pages/forgot-password.tsx@@ -1,6 +1,7 @@+import Link from 'next/link'+import { ForgotPasswordWizard } from 'components/interfaces/SignIn/ForgotPasswordWizard'import ForgotPasswordLayout from 'components/layouts/SignInLayout/ForgotPasswordLayout'-import Link from 'next/link'import type { NextPageWithLayout } from 'types'const ForgotPasswordPage: NextPageWithLayout = () => {@@ -23,7 +24,7 @@ const ForgotPasswordPage: NextPageWithLayout = () => {ForgotPasswordPage.getLayout = (page) => (<ForgotPasswordLayoutheading="Forgot your password?"- subheading="Type in your email and we'll send you a code to reset the password"+ subheading="Enter your email and we'll send you a code to reset the password">{page}</ForgotPasswordLayout>