checkResetLinkIsValid
Overview
Checks with the server whether a password reset link is still valid. Rejects with InvalidResetPasswordLinkError when the server answers 400.
Signature
checkResetLinkIsValid(params)
Parameters
| Name | Type | Required | Description |
|---|---|---|---|
| params | object | yes | The values from the reset link. |
params Properties
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
| pk | string | The encoded user id. | ||
| token | string | The reset token. |
Returns
Promise
The decoded response data, with a detail message.
Source
client/lib/stores/storeUser.js:709