Fixed wrong username/password in basic authentication

This commit is contained in:
Zaid Abdulla committed 2013-07-28 10:16:18 +03:00
1 parent 51eeb1be55
commit 04ed5aaf0f
1 file changed
+1 -1
+1 -1
View File
@@ -14,7 +14,7 @@ exports.parseAuthHeader = (authHeader) ->
exports.basic = (username, password) -> exports.basic = (username, password) ->
"Basic #{new Buffer('Aladdin:open sesame').toString('base64')}" "Basic #{new Buffer("#{username}:#{password}").toString('base64')}"
exports.digest = (username, password, uri, httpMethod, body, authHeader) -> exports.digest = (username, password, uri, httpMethod, body, authHeader) ->