nodebb-plugin-freelog
Advanced tools
Comparing version 0.0.27 to 0.0.28
@@ -84,2 +84,3 @@ const plugin = {}; | ||
} | ||
console.log('开始注册用户..' + username); | ||
User.create({ | ||
@@ -98,2 +99,3 @@ uid: freelogUserInfo.userId, | ||
}, function(nodebbUserInfo, callback) { | ||
// condition = {_key:"group:administrators:members",value:uid } | ||
User.isAdministrator(nodebbUserInfo.uid).then(isAdmin => { | ||
@@ -105,2 +107,3 @@ nodebbUserInfo.isAdmin = isAdmin; | ||
], function(error, result) { | ||
console.log({ error, result }); | ||
if (error) { | ||
@@ -107,0 +110,0 @@ next(error); |
@@ -5,3 +5,3 @@ { | ||
"description": "NodeBB Forum", | ||
"version": "0.0.27", | ||
"version": "0.0.28", | ||
"homepage": "http://www.nodebb.org", | ||
@@ -8,0 +8,0 @@ "repository": { |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5793
131