title: Node - Passport Auth - Authed Post Route hangs on form submission
body: <p>This is a weird one. Im Passport's 'Local Strategy' for my express app and i'm running into an odd issue.</p>
  
  <p>Essentially, I have three routes. Each have an auth check in place.</p>
  
  <pre><code>app.get('/admin', authenticatedOrNot, adminRoute.index);
  app.get('/admin/new', authenticatedOrNot, adminRoute.newpost);
  app.post('/admin/new', authenticatedOrNot, adminRoute.create);
  </code></pre>
  
  <p>the authenticatedOrNot method is simply :</p>
  
  <pre><code>var authenticatedOrNot = function(req, res, next){
      if(req.isAuthenticated()){
          next();
      }else{
          res.redirect("/login");
      }
  }
  </code></pre>
  
  <p>Works perfect for logging in to the admin area, and checking if a user is logged in, BUT when I submit a form to the '/admin/new' Post route, the browser hangs. Nothing happens in the console, even with console.log in place : </p>
  
  <pre><code>exports.create = function(req, res){
      console.log(req);
          // Database logic here
          res.redirect('/admin');
  }
  </code></pre>
  
  <p>I cant seem to get it to work. It just hangs, and eventually fails. The browser console just says 'pending' in the network request.</p>
  
  <p>Ive tried removing the 'authenticatedOrNot' method from the post route and same issue, but if I remove all three it works fine.</p>
  
  <p>Im stumped.</p>
  
  <p>Any help guys? Anyone else run into this?</p>