adduser flow #5
Closed
adduser flow #5
Milestone
Comments
npm adduser (new user)
npm adduser (exist user)
npm adduser (wrong password)
|
dead-horse
added a commit
that referenced
this issue
Dec 4, 2013
put /-/user/:name first if return 201 adduser ok, else if return 409, means user exist then get /-/user/:name with header authorization: 'Basic ZXhpc3EWdf==' if check ok, return 200 and account info. then put/-/user/:name/-rev/:rev if check not ok, return 401, adduser error. adduser the same account: It will post /_session to get authSession.
fengmk2
added a commit
that referenced
this issue
Dec 4, 2013
Mock npm adduser server response, fixing #5
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
No description provided.
The text was updated successfully, but these errors were encountered: