# Change Password Endpoint

**Endpoint:** `POST /EMS-backend/change-password`

**Authentication:** Required (Bearer token)

**Request:**
```json
{
  "current_password": "your_current_password",
  "new_password": "your_new_password"
}
```

**Response (200):**
```json
{
  "message": "Password changed successfully"
}
```

**Requirements:**
- New password must be at least 6 characters
- Current password must be correct

**Example:**
```bash
curl -X POST http://142.93.20.203:4000/EMS-backend/change-password \
  -H "Authorization: Bearer YOUR_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"current_password": "old123", "new_password": "new123"}'
```

