summaryrefslogtreecommitdiff
path: root/deps/npm/node_modules/npm-registry-client/lib/adduser.js
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2014-02-16 20:43:16 -0800
committerisaacs <i@izs.me>2014-02-16 20:43:16 -0800
commitec2fc4ca4d3eacaa3dc1db1673169b89233b9823 (patch)
tree0aa8a647e5111653bdf9c122182be93bf8823c7b /deps/npm/node_modules/npm-registry-client/lib/adduser.js
parent86b8d84811484763b251b9a8a2b9e673964ea6b5 (diff)
downloadnode-npm-v1.4.3.tar.gz
npm: upgrade to 1.4.3npm-v1.4.3
Diffstat (limited to 'deps/npm/node_modules/npm-registry-client/lib/adduser.js')
-rw-r--r--deps/npm/node_modules/npm-registry-client/lib/adduser.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/npm/node_modules/npm-registry-client/lib/adduser.js b/deps/npm/node_modules/npm-registry-client/lib/adduser.js
index 2684063cc..aebf71d67 100644
--- a/deps/npm/node_modules/npm-registry-client/lib/adduser.js
+++ b/deps/npm/node_modules/npm-registry-client/lib/adduser.js
@@ -81,7 +81,8 @@ function adduser (username, password, email, cb) {
this.log.verbose("adduser", "update existing user")
return this.request('GET'
- , '/-/user/org.couchdb.user:'+encodeURIComponent(username)
+ , '/-/user/org.couchdb.user:'+encodeURIComponent(username) +
+ '?write=true'
, function (er, data, json, response) {
if (er || data.error) {
return cb(er, data, json, response)