mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-24 01:10:31 +01:00
added error and success language files
removed some code from server side that was emitting alerts
This commit is contained in:
@@ -139,7 +139,7 @@ var bcrypt = require('bcryptjs'),
|
||||
}
|
||||
|
||||
if (Date.now() - parseInt(lastposttime, 10) < parseInt(meta.config.postDelay, 10) * 1000) {
|
||||
return callback(new Error('too-many-posts'));
|
||||
return callback(new Error('[[error:too-many-posts, ' + meta.config.postDelay + ']]'));
|
||||
}
|
||||
callback();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user