mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 18:46:01 +01:00
closes #2209
This commit is contained in:
@@ -111,6 +111,7 @@ var async = require('async'),
|
||||
user.uid = 0;
|
||||
user.username = '[[global:guest]]';
|
||||
user.userslug = '';
|
||||
user.picture = User.createGravatarURLFromEmail('');
|
||||
}
|
||||
|
||||
if (user.picture) {
|
||||
@@ -119,8 +120,6 @@ var async = require('async'),
|
||||
} else {
|
||||
user.picture = User.createGravatarURLFromEmail(user.email);
|
||||
}
|
||||
} else {
|
||||
user.picture = User.createGravatarURLFromEmail('');
|
||||
}
|
||||
|
||||
for(var i=0; i<fieldsToRemove.length; ++i) {
|
||||
|
||||
Reference in New Issue
Block a user