Skip to content

Commit 922d705

Browse files
committed
Just a fix, nothing to see here
1 parent 912f62e commit 922d705

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

api/controllers/UserController.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,10 @@ module.exports = {
6565
FlashService.error(req, 'Cannot verify recaptcha');
6666
return res.rstudio_redirect(301,'/register');
6767
});
68+
},
69+
70+
show: function(req, res) {
71+
return res.forbidden();
6872
}
6973

7074
};

config/routes.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,4 +185,6 @@ module.exports.routes = {
185185
// Parsing
186186
'get /api/parsing/jobs': 'PackageController.toParse',
187187

188+
'get /api/users/*': 'UserController.show',
189+
188190
};

0 commit comments

Comments
 (0)