nodebb-plugin-freelog
Advanced tools
Comparing version 1.0.9 to 1.0.10
@@ -39,2 +39,3 @@ const plugin = {}; | ||
plugin.overrideLogin = function(req, username, password, next) { | ||
console.log('用户登录插件处理中..'); | ||
passport.use(new passportLocal({ | ||
@@ -59,4 +60,5 @@ passReqToCallback: true | ||
console.log(data); | ||
return data; | ||
}; | ||
module.exports = plugin; |
@@ -5,3 +5,3 @@ { | ||
"description": "NodeBB Forum", | ||
"version": "1.0.9", | ||
"version": "1.0.10", | ||
"homepage": "https://github.com/freelogfe/nodebb-plugin-freelog", | ||
@@ -8,0 +8,0 @@ "repository": { |
8072
204