Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nodebb-plugin-freelog

Package Overview
Dependencies
Maintainers
1
Versions
52
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nodebb-plugin-freelog - npm Package Compare versions

Comparing version 0.0.6 to 0.0.7

2

index.js

@@ -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": {

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc