Skip to content

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

Update apps/docs/pages/guides/auth/auth-password-reset.mdx

Andrew Smith7bef3f1cd0eb
diff --git a/apps/docs/pages/guides/auth/auth-password-reset.mdx b/apps/docs/pages/guides/auth/auth-password-reset.mdx
index aef61326399..85cf47c82e5 100644
--- a/apps/docs/pages/guides/auth/auth-password-reset.mdx
+++ b/apps/docs/pages/guides/auth/auth-password-reset.mdx
@@ -67,8 +67,8 @@ After redirecting to the server page, we need to retrieve the code from the quer
```ts
// api/auth/callback.ts
-// code can be retrieved using your framework of choice way of getting query parameter from the url.
-// This is just example code
+// The code is retrieved from the query parameter - use whichever mechanism is recommended
+// for your app/framework. This is just an example.
const code = url.searchParams.get('code')
// call the Supabase API to exchange the code for a session