mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 12:36:02 +01:00
This commit is contained in:
@@ -25,10 +25,10 @@ var fs = require('fs'),
|
||||
|
||||
function userNotFound(res) {
|
||||
if (res.locals.isAPI) {
|
||||
res.status(404).json('user-not-found');
|
||||
res.status(404).json('no-user');
|
||||
} else {
|
||||
res.render('404', {
|
||||
error: 'User not found!'
|
||||
error: '[[error:no-user]]'
|
||||
});
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user