Skip to content

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

docs(auth): note that resetPasswordForEmail doesn't send email for un… (#48800)

Cemal Kılıç1ff84a239c57
diff --git a/apps/docs/content/guides/auth/passwords.mdx b/apps/docs/content/guides/auth/passwords.mdx
index c1ff484751b..f51864f058d 100644
--- a/apps/docs/content/guides/auth/passwords.mdx
+++ b/apps/docs/content/guides/auth/passwords.mdx
@@ -609,6 +609,14 @@ var session = await supabase.Auth.SignIn("[email protected]", "example-pas
### Resetting a password
+<Admonition type="note">
+
+To prevent user enumeration, `resetPasswordForEmail()` doesn't reveal whether an account exists for the given email address.
+
+When no user is associated with the address, Supabase Auth won't send an email, though the method still returns without an error.
+
+</Admonition>
+
<Tabs
scrollable
size="small"