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

@@ -15,7 +15,6 @@
passport.use(new passportLocal(function(user, password, next) {
login_module.loginViaLocal(user, password, function(err, login) {
if (!err) {
console.log('LOGGED IN');
next(null, login.user);
} else {
next(null, false, err);