The current endpoint config. Will be default
unless you're using multiple user types.
The email address of the user trying to initiate the password reset.
The URL that the email confirmation link should lead back to. This field will be automatically filled out by this framework.
--
{
"email": "test@test.com",
"redirect_url": "https://redux-auth-demo.herokuapp.com/"
}
--
None. The API won't care about any headers for this request.
A json object containing the following key.
Will always be true
.
A success message that will be displayed to the user.
--
{
"success": true,
"message": "An email has been sent to test@test.com containing instructions for resetting your password."
}
--
None. The client won't care about any headers for this response.
--
This will contain the response status, and an array of any errors that the server encountered in processing the request.
Will always be false
.
A list of errors that will be displayed to the user.
--
{
"success": false,
"errors": ["Unable to find user with email 'bogus@test.com'."]
}
--
None. The client won't care about any headers for this response.