mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-07 20:16:31 +02:00
closes #3436
This commit is contained in:
@@ -31,6 +31,7 @@ module.exports = function(User) {
|
||||
'userslug': data.userslug,
|
||||
'email': data.email,
|
||||
'joindate': timestamp,
|
||||
'lastonline': timestamp,
|
||||
'picture': '',
|
||||
'fullname': data.fullname,
|
||||
'location': '',
|
||||
@@ -89,7 +90,7 @@ module.exports = function(User) {
|
||||
db.sortedSetAdd('userslug:uid', userData.uid, userData.userslug, next);
|
||||
},
|
||||
function(next) {
|
||||
db.sortedSetAdd('users:joindate', timestamp, userData.uid, next);
|
||||
db.sortedSetAdd(['users:joindate', 'users:online', 'users:notvalidated'], timestamp, userData.uid, next);
|
||||
},
|
||||
function(next) {
|
||||
db.sortedSetsAdd(['users:postcount', 'users:reputation'], 0, userData.uid, next);
|
||||
|
||||
Reference in New Issue
Block a user