guest post fix

v1.18.x
barisusakli 11 years ago
parent 836540ff78
commit c642493bce

@ -149,6 +149,10 @@ var bcrypt = require('bcryptjs'),
};
User.isReadyToPost = function(uid, callback) {
if (parseInt(uid, 10) === 0) {
return callback();
}
async.parallel({
userData: function(next) {
User.getUserFields(uid, ['banned', 'lastposttime', 'email', 'email:confirmed'], next);

Loading…
Cancel
Save