mirror of
https://github.com/supabase/supabase.git
synced 2026-10-15 22:29:11 +03:00
Merge pull request #8910 from supabase/docs/fix-password-reset
docs(reference/v2): fix options argument in auth.resetPasswordForEmail
This commit is contained in:
1 file changed
+1
-1
@@ -496,7 +496,7 @@ pages:
|
||||
isSpotlight: true
|
||||
js: |
|
||||
```js
|
||||
const { error, data } = await supabase.auth.resetPasswordForEmail(email, options: {
|
||||
const { error, data } = await supabase.auth.resetPasswordForEmail(email, {
|
||||
redirectTo: 'https://example.com/update-password',
|
||||
})
|
||||
```
|
||||
|
||||
Reference in new issue
Block a user