diff options
Diffstat (limited to 'deps/npm/lib/adduser.js')
-rw-r--r-- | deps/npm/lib/adduser.js | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/deps/npm/lib/adduser.js b/deps/npm/lib/adduser.js index f826a76e8a..579ecb0a9f 100644 --- a/deps/npm/lib/adduser.js +++ b/deps/npm/lib/adduser.js @@ -23,7 +23,6 @@ function adduser (args, cb) { , p : npm.config.get("_password") || "" , e : npm.config.get("email") || "" } - , changed = false , u = {} , fns = [readUsername, readPassword, readEmail, save] @@ -134,7 +133,7 @@ function save (c, u, cb) { } npm.spinner.start() // save existing configs, but yank off for this PUT - registry.adduser(u.u, u.p, u.e, function (er) { + registry.adduser(npm.config.get("registry"), u.u, u.p, u.e, function (er) { npm.spinner.stop() if (er) return cb(er) registry.username = u.u |