mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-02-08 07:40:05 +01:00
closes #2316
This commit is contained in:
@@ -130,7 +130,7 @@ accountsController.getAccount = function(req, res, next) {
|
||||
if (res.locals.isAPI) {
|
||||
req.params.userslug = lowercaseSlug;
|
||||
} else {
|
||||
res.redirect(nconf.get('relative_path') + '/user/' + lowercaseSlug);
|
||||
return res.redirect(nconf.get('relative_path') + '/user/' + lowercaseSlug);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user