Socket
Socket
Sign inDemoInstall

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.26 to 0.0.27

8

index.js

@@ -41,5 +41,2 @@ const plugin = {};

plugin.overrideLogin = function(req, username, password, next) {
if (username === 'admin') {
return next();
}
passport.use(new passportLocal({

@@ -100,2 +97,7 @@ passReqToCallback: true

});
}, function(nodebbUserInfo, callback) {
User.isAdministrator(nodebbUserInfo.uid).then(isAdmin => {
nodebbUserInfo.isAdmin = isAdmin;
callback(null, nodebbUserInfo);
}).catch(error => callback(error));
}

@@ -102,0 +104,0 @@ ], function(error, result) {

@@ -5,3 +5,3 @@ {

"description": "NodeBB Forum",
"version": "0.0.26",
"version": "0.0.27",
"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