small cleanup of cloning user schema

This commit is contained in:
Tyler Renelle
2013-01-02 12:31:16 -05:00
parent e4afeb9b8e
commit e42971d202
2 changed files with 13 additions and 15 deletions
+1 -1
View File
@@ -49,7 +49,7 @@ strategies =
options =
domain: (if process.env.NODE_ENV == 'production' then 'https://habitrpg.com' else "http://localhost:3000")
allowPurl: true
schema: require('../app/schema').newUserObject()
schema: require('../app/schema').userSchema()
mongo_store = new MongoStore {url: process.env.NODE_DB_URI}, ->
expressApp