fix password reset component
This commit is contained in:
parent
07a1d3b9c4
commit
bf37842b5f
2 changed files with 3 additions and 3 deletions
|
|
@ -314,7 +314,7 @@ export const verifyCredentials = ({ credentials }) =>
|
|||
credentials,
|
||||
}).then(({ data, ...rest }) => ({ ...rest, data: parseUser(data) }))
|
||||
|
||||
export const resetPassword = ({ instance, email }) => {
|
||||
export const resetPassword = ({ email }) => {
|
||||
return promisedRequest({
|
||||
url: MASTODON_PASSWORD_RESET_URL({ email }),
|
||||
method: 'POST',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue