We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 912f62e + 922d705 commit 77d126aCopy full SHA for 77d126a
βapi/controllers/UserController.jsβ
@@ -65,6 +65,10 @@ module.exports = {
65
FlashService.error(req, 'Cannot verify recaptcha');
66
return res.rstudio_redirect(301,'/register');
67
});
68
+ },
69
+
70
+ show: function(req, res) {
71
+ return res.forbidden();
72
}
73
74
};
βconfig/routes.jsβ
@@ -185,4 +185,6 @@ module.exports.routes = {
185
// Parsing
186
'get /api/parsing/jobs': 'PackageController.toParse',
187
188
+ 'get /api/users/*': 'UserController.show',
189
190
0 commit comments