This repository has been archived by the owner on Jun 2, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 744
adduser flow #5
Milestone
Comments
ghost
assigned dead-horse
Dec 4, 2013
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
No description provided.
The text was updated successfully, but these errors were encountered: