lib/authentication/oauth.js
function redirectToNext(req, res) {
  var redirectTo = req.session.next || '';
  req.session.next = null; // Null it so that we do not use it again.
  res.redirect(redirectTo);
}
function redirectToNext(req, res) {
  var redirectTo = req.session.next || '';
  req.session.next = null; // Null it so that we do not use it again.
  res.redirect(redirectTo);
}
function redirectToNext ( req , res ) { var redirectTo = req . session . next || '' ; req . session . next = null ; // Null it so that we do not use it again. res . redirect ( redirectTo ) ; }
Redirects the user to the new url.
Redirects the user to the new url .