Skip to content
Snippets Groups Projects
Commit c4f3cb0e authored by Vytor Calixto's avatar Vytor Calixto :space_invader:
Browse files

Fix error with login when user didn't exist

parent a0b416d3
No related branches found
No related tags found
2 merge requests!116Release v1.0.0,!73Workerpool feature
Pipeline #
......@@ -68,7 +68,7 @@ aserver.exchange(oauth2orize.exchange.password((client, username, password, scop
console.log('deu ruim');
console.log(user);
console.log(password);
console.log(user.checkPassword(password));
if(user) console.log(user.checkPassword(password));
return done(null, false);
}
......
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