aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDennis Eriksen <dennis.se@gmail.com>2013-05-15 11:21:01 +0200
committerDennis Eriksen <dennis.se@gmail.com>2013-05-15 11:21:01 +0200
commit5f212be0fed527ba52fd3a95ae9b8a8f9a825e21 (patch)
tree0b1b7e067f093ea960e209c218dbb9b3455e8cd9
parentrandom password is now generated for invited users (diff)
downloadDivid-5f212be0fed527ba52fd3a95ae9b8a8f9a825e21.tar.gz
removed consolellogging
-rw-r--r--routes.js1
1 files changed, 0 insertions, 1 deletions
diff --git a/routes.js b/routes.js
index 0e57dc7..7abe210 100644
--- a/routes.js
+++ b/routes.js
@@ -38,7 +38,6 @@ module.exports = function(app, passport, auth) {
app.get('/auth/facebook', passport.authenticate('facebook', { failureRedirect: '/test' }), users.signin);
app.get('/auth/facebook/callback', passport.authenticate('facebook', { failureRedirect: '/test' }), function(req, res) {
- console.log('/auth/facebook/callback --- ' + req.user.username);
res.redirect('/dashboard');
});