diff --git a/app/services/user_database_service.js b/app/services/user_database_service.js index d2027197..d2b9f9ed 100644 --- a/app/services/user_database_service.js +++ b/app/services/user_database_service.js @@ -32,9 +32,6 @@ UserDatabaseService.prototype.getConnectionParams = function (cdbUsername, apike pass: global.settings.db_pubuser_pass }; - // 1. Get database from redis via the username stored in the host header subdomain - // 2. Run the request through OAuth to get R/W user id if signed - // 3. Set to user authorization params step( function getDatabaseConnectionParams() { self.metadataBackend.getAllUserDBParams(cdbUsername, this); @@ -62,8 +59,6 @@ UserDatabaseService.prototype.getConnectionParams = function (cdbUsername, apike return next(null, dbopts, dbParams); } - dbParams.apikey = apikeyToken; - next(null, dbopts, dbParams, apikey); }); },