mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-20 23:40:38 +01:00
removing allowGuestPosting logic in NodeBB
This commit is contained in:
@@ -154,10 +154,6 @@ var bcrypt = require('bcryptjs'),
|
||||
};
|
||||
|
||||
User.isReadyToPost = function(uid, callback) {
|
||||
if (meta.config.allowGuestPosting && parseInt(uid, 10) === 0) {
|
||||
return callback();
|
||||
}
|
||||
|
||||
async.parallel({
|
||||
banned: function(next) {
|
||||
User.getUserField(uid, 'banned', next);
|
||||
|
||||
Reference in New Issue
Block a user