• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

strongloop / loopback / 5581
89%
master: 90%

Build:
Build:
LAST BUILD BRANCH: chore/update-lts
DEFAULT BRANCH: master
Ran 24 Mar 2017 10:05AM UTC
Jobs 3
Files 0
Run time 2s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
5581

push

travis-ci

bajtos
Add User.changePassword(id, old, new, cb)

Implement a new method for changing user passwords the secure way.
The method requires the old password to be provided before a new
password can be used.

REST API:

    POST /api/users/change-password
    Authorization: your-token-id
    Content-Type: application/json

    {"oldPassword":"old-pass", "newPassword": "new-pass"}

JavaScript API:

    User.changePassword(userId, oldPassword, newPassword[, cb])

There is also an instance-level (prototype) method that can be used
from JavaScript:

    userInstance.changePassword(oldPassword, newPassword[, cb])

1689 of 2136 branches covered (79.07%)

29 of 29 new or added lines in 1 file covered. (100.0%)

3104 of 3475 relevant lines covered (89.32%)

1946.36 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
100.0
common/models/user.js

Uncovered Existing Lines

Lines Coverage ∆ File
16
100.0
common/models/user.js
Jobs
ID Job ID Ran Files Coverage
1 5581.1 24 Mar 2017 10:08AM UTC 0
89.32
Travis Job 5581.1
2 5581.2 24 Mar 2017 10:06AM UTC 0
89.32
Travis Job 5581.2
3 5581.3 24 Mar 2017 10:05AM UTC 0
89.32
Travis Job 5581.3
Source Files on build 5581
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #5581
  • 27ed7125 on github
  • Prev Build on feature/change-password-api (#5574)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc