sayan404 / TaskPulse

an application that helps people to register and track there work
https://taskpulse.onrender.com
MIT License
7 stars 11 forks source link

[Backend]: Add Update Password functionality #28

Closed devanshrajput07 closed 9 months ago

devanshrajput07 commented 9 months ago

API Implementation : Update Password

  1. Endpoint Information API Endpoint URL: /api/v1/users/password/update HTTP Method: PUT

  2. Request Payload Request Format: JSON

    {
    "oldPassword": "TJTBJd123@@",
    "password": "FHhkbskjlj15245##"
    }
  3. Response Format

    {
    "success": true,
    "message": "Password updated successfully",
    "user": {
        "_id": "65bbcd0b561062b186858e04"
    }
    }
devanshrajput07 commented 9 months ago

Assign me @sayan404 .

sayan404 commented 9 months ago

okay , I am assigning this issue to you . @devanshrajput07

devanshrajput07 commented 9 months ago

30