mirror of
https://github.com/supabase/supabase.git
synced 2026-10-05 09:25:06 +03:00
fix options argument in auth.resetPasswordForEmail
This commit is contained in:
1 parent
2a545f1067
commit
bb17038c33
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