biolab-unige / xtens-app

A digital repository for biomedical data based on a flexible JSON data model ( The project has been moved to a new address https://github.com/xtens-suite/xtens-app.git )
http://www.xtens.org
BSD 3-Clause "New" or "Revised" License
6 stars 1 forks source link

Password Update on Users #14

Closed Zigur closed 8 years ago

Zigur commented 8 years ago

I would suggest to implement this a HTTP PATCH method

PATCH /operator/password (or PATCH /password?)

{ "oldPasswoed" .., "newPassword": ..., "confirmedNewPassword: ... }

Verify oldPassword and test equality between newPassword and confirmedNewPassword.

gicaz commented 8 years ago

Added feature, commit: https://github.com/biolab-unige/xtens-app/commit/c18c44c795caf7b61cffd58d978be775eba919cd