From 07b177f3475f6be5935c721c30097e7867bed629 Mon Sep 17 00:00:00 2001 From: Matt Zabriskie Date: Fri, 11 Dec 2015 11:39:22 -0700 Subject: [PATCH] Removing unwanted user/pass for auth --- lib/adapters/http.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/adapters/http.js b/lib/adapters/http.js index 740a9dc..8b8f2ad 100644 --- a/lib/adapters/http.js +++ b/lib/adapters/http.js @@ -49,8 +49,8 @@ module.exports = function httpAdapter(resolve, reject, config) { // HTTP basic authentication var auth = undefined; if (config.auth) { - var username = config.auth.user || config.auth.username; - var password = config.auth.pass || config.auth.password; + var username = config.auth.username || ''; + var password = config.auth.password || ''; auth = username + ':' + password; }