random spaces mixed in...

This commit is contained in:
Julian Lam 2014-01-29 11:42:50 -05:00
parent 9fd27ff2fc
commit 2555d56a58

View File

@ -4,17 +4,17 @@
var User = module.parent.require('./user'), var User = module.parent.require('./user'),
db = module.parent.require('../src/database'), db = module.parent.require('../src/database'),
passport = module.parent.require('passport'), passport = module.parent.require('passport'),
fs = module.parent.require('fs'), fs = module.parent.require('fs'),
path = module.parent.require('path'), path = module.parent.require('path'),
nconf = module.parent.require('nconf'), nconf = module.parent.require('nconf'),
winston = module.parent.require('winston'), winston = module.parent.require('winston'),
passportOAuth; passportOAuth;
if (meta.config['social:oauth:type'] === '2') { if (meta.config['social:oauth:type'] === '2') {
passportOAuth = require('passport-oauth').OAuth2Strategy; passportOAuth = require('passport-oauth').OAuth2Strategy;
} else if (meta.config['social:oauth:type'] === '1') { } else if (meta.config['social:oauth:type'] === '1') {
passportOAuth = require('passport-oauth').OAuthStrategy; passportOAuth = require('passport-oauth').OAuthStrategy;
} }
var constants = Object.freeze({ var constants = Object.freeze({
'name': "Generic OAuth", 'name': "Generic OAuth",