nodebb-plugin-freelog
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -41,3 +41,2 @@ const plugin = {}; | ||
plugin.login = async function(req, username, password, next) { | ||
console.log('secret', nconf.get('secret')); | ||
if (!username) { | ||
@@ -48,2 +47,3 @@ return next(new Error('[[error:invalid-username]]')); | ||
console.log('登录成功'); | ||
console.log('secret', nconf.get('secret')); | ||
const userData = await User.getUserData(1); | ||
@@ -50,0 +50,0 @@ console.log(userData); |
@@ -5,3 +5,3 @@ { | ||
"description": "NodeBB Forum", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"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