Closed cludden closed 9 years ago
currently defaults to res.forbidden, which assumes the user is using sails
// lib/must.js#148 return res.forbidden(self.message || 'Unauthorized');
we should allow the factory itself to determine the appropriate error response, or implement some sort of hook that the factories can tap into to set the appropriate error response handler
currently defaults to res.forbidden, which assumes the user is using sails
we should allow the factory itself to determine the appropriate error response, or implement some sort of hook that the factories can tap into to set the appropriate error response handler