Moves auth functionality to its own directory

This commit is contained in:
Raul Ochoa 2014-08-05 11:57:43 +02:00
parent e16f278087
commit 49406c99fa
4 changed files with 3 additions and 3 deletions

View File

@ -33,11 +33,11 @@ var express = require('express')
, Profiler = require('step-profiler')
, StatsD = require('node-statsd').StatsD
, MetadataDB = require('cartodb-redis')
, oAuth = require(global.settings.app_root + '/app/models/oauth')
, PSQL = require(global.settings.app_root + '/app/models/psql')
, PSQLWrapper = require(global.settings.app_root + '/app/sql/psql_wrapper')
, CdbRequest = require(global.settings.app_root + '/app/models/cartodb_request')
, ApiKeyAuth = require(global.settings.app_root + '/app/models/apikey_auth')
, oAuth = require(global.settings.app_root + '/app/auth/oauth')
, ApiKeyAuth = require(global.settings.app_root + '/app/auth/apikey')
, _ = require('underscore')
, LRU = require('lru-cache')
, formats = require(global.settings.app_root + '/app/models/formats')

View File

@ -2,7 +2,7 @@ require('../helper');
var _ = require('underscore')
, redis = require("redis")
, oAuth = require('../../app/models/oauth')
, oAuth = require('../../app/auth/oauth')
, assert = require('assert')
, tests = module.exports = {}
, oauth_data_1 = {