From 2539079c846a44a5d9d45f1a1efbf36455f74c85 Mon Sep 17 00:00:00 2001 From: Baris Usakli Date: Wed, 8 May 2013 14:54:07 -0400 Subject: [PATCH] removed console.log --- src/webserver.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/webserver.js b/src/webserver.js index fb0d29bb44..2f6fddde44 100644 --- a/src/webserver.js +++ b/src/webserver.js @@ -336,7 +336,7 @@ passport.deserializeUser(function(uid, done) { if(!req.user) return res.redirect('/403'); - console.log(req.body.uid); + if(req.user.uid !== req.body.uid) return res.redirect('/');