Update login.js

v1.18.x
Aziz Khoury 11 years ago
parent da647d105b
commit 7e3d8d65f5

@ -35,7 +35,7 @@ var user = require('./user'),
});
}
bcrypt.compare(password, userData.password || '', function(err, res) {
bcrypt.compare(password, userData.password, function(err, res) {
if (err) {
winston.err(err.message);
next(new Error('bcrypt compare error'));
@ -181,4 +181,4 @@ var user = require('./user'),
});
}
}(exports));
}(exports));

Loading…
Cancel
Save