diff --git a/lib/users.js b/lib/users.js index 2b896b43..fbecef67 100644 --- a/lib/users.js +++ b/lib/users.js @@ -22,7 +22,7 @@ if (nconf.get('PROFILE_MAPPER')) { } else if (nconf.get('PROFILE_MAPPER_FILE')) { profileMapper = require(nconf.get('PROFILE_MAPPER_FILE')); } else { - profileMapper = nconf.get('PROFILE_MAPPER'); + profileMapper = require('./profileMapper'); }