lib/controllers/register.js
function defaultAutoAuthorizeHtmlResponse(req, res) {
  var config = req.app.get('stormpathConfig');
  res.redirect(302, url.parse(req.query.next || '').path || config.web.register.nextUri);
}
function defaultAutoAuthorizeHtmlResponse(req, res) {
  var config = req.app.get('stormpathConfig');
  res.redirect(302, url.parse(req.query.next || '').path || config.web.register.nextUri);
}
function defaultAutoAuthorizeHtmlResponse ( req , res ) { var config = req . app . get ( 'stormpathConfig' ) ; res . redirect ( 302 , url . parse ( req . query . next || '' ) . path || config . web . register . nextUri ) ; }
Delivers the default response for registration attempts that accept an HTML
content type, where the new account is in a verified state and the config
has requested that we automatically log in the user. In this situation we
redirect to the next URI that is in the url, or the nextUri that is defined
on the registration configuration

@function

@param {Object} req - The http request.
@param {Object} res - The http response.
Delivers the default response for registration attempts that accept an HTML content type where the new account is in a verified state and the config has requested that we automatically log in the user . In this situation we redirect to the next URI that is in the url or the nextUri that is defined on the registration configuration