Closed Bug 435484 Opened 16 years ago Closed 16 years ago

Add ability to change password

Categories

(Cloud Services :: General, defect, P1)

defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: hello, Assigned: anant)

References

Details

There is currently no way to change the Weave password.  It should be possible to do so.
Priority: -- → P1
Target Milestone: -- → 0.2
Looking into this...
Assignee: nobody → myk
I got this working, but it turns out Anant is also working on this, so I've turned over my code to him, and he's going to take it across the finish line.
Assignee: myk → anarayanan
Yep, sorry for the confusion. I never saw this 'server' portion of weave bugs, i've been working on server-side stuff without bugs for sometime now, so I thought I'd take up the change password case...

Anyway, this is live on sm-labs01.mozilla.org now.

API is pretty simple, POST request with fields 'uid', 'password' and 'new' to https://sm-labs01.mozilla.org/register/chpwd/

HTTP 200 will be returned if the password was correctly changed, 400 if not, with codes as discussed in the registration API with the addition of -13 (Incorrect password), and -12 (Missing 'new' field).

I should probably document the API on the wiki at some point.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Component: Weave → General
Product: Mozilla Labs → Weave
QA Contact: weave → general
You need to log in before you can comment on or make changes to this bug.