Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- app.post('/', function (req, res) {
- db.users.find({username: req.body.username, password: req.body.password}, function (err, users) {
- // TODO: handle the rest
- });
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement