removed auth lib

This commit is contained in:
Max Thayer 2013-08-21 23:58:19 -04:00
parent afffe75a73
commit 5bda4b82c7
2 changed files with 0 additions and 13 deletions

View File

@ -1,12 +0,0 @@
exports.getCookie = function(opts, cb){
var db = nano(opts.db.url);
nano.auth(opts.username, opts.password, function(err, body, headers){
if(err){
cb(err);
}else{
if(headers && headers['set-cookie']){
cb(null, headers['set-cookie']);
}
}
});
}

View File

@ -10,7 +10,6 @@ var path, couchapp, nanolib, urls, auth;
path = require('path'); path = require('path');
couchapp = require('couchapp'); couchapp = require('couchapp');
urls = require('url'); urls = require('url');
auth = require('../lib/auth');
var genDB = function(db) { var genDB = function(db) {
var parts, dbname, auth; var parts, dbname, auth;