Skip to content
Snippets Groups Projects
Commit daab538b authored by Lucas Gabriel Lima's avatar Lucas Gabriel Lima
Browse files

small fix on passport config

parent 2f184b19
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!25Auth
Pipeline #
......@@ -18,10 +18,6 @@ module.exports = function(passport){
return done(null, false, {message: 'Unknown user'});
}
if (!user.comparePassword(password)) {
return done(null, false, {message: 'Invalid password'});
}
return done(null, user);
});
}));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment