moved connect-redis to the redis.db file, expose the sessionStore from redis.js db file, do the same for mongo db with mongo-connect

This commit is contained in:
Baris Soner Usakli
2013-12-02 22:33:55 -05:00
parent 95db5f93cb
commit 6d79521922
5 changed files with 11 additions and 25 deletions

View File

@@ -43,7 +43,6 @@ var user = require('./user'),
}
if (res) {
console.log('logged in', uid);
next(null, {
user: {
uid: uid