mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-13 17:35:46 +01:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user