Nest Changelog

1.1.6

2/18/2022

1.1.7

2/18/2022

2 added endpoints
Added endpoints

POST /users/password/forgot

Check that there is no password reset request within last 10 mins and send reset email

Guard: service

Request Body
{
  email?: string,
}
Response Body
{
  data: {
    message?: string,
  },
}

POST /users/password/reset

Change the password using reset token

Guard: service

Request Body
{
  email?: string,
  password?: string,
  token?: string,
}
Response Body
{
  data: {
    message?: string,
  },
}
2 deleted endpoints

PUT /users/password/forgot

Check that there is no password reset request within last 10 mins and generates a token for password reset

Guard: service

Request Body
{
  email?: string,
}
Response Body
{
  data: {
    token?: string,
  },
}

PUT /users/password/reset

Change the password using reset token

Guard: service

Request Body
{
  email?: string,
  password?: string,
  token?: string,
}
Deleted endpoints
WORK IN PROGRESS