@pan-os/cerberus
Advanced tools
Comparing version 1.0.8 to 1.0.9
{ | ||
"name": "@pan-os/cerberus", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "security wrapper to protect routes dynamically with heimdall structure", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -33,3 +33,3 @@ /* eslint-disable no-underscore-dangle */ | ||
module.exports = (email, password, done) => (User) => User.findOne({ email }, (err, user) => { | ||
module.exports = (User) => (email, password, done) => User.findOne({ email }, (err, user) => { | ||
if (!user) return done(null, false, { error: new InvalidCredentialsError(err) }); | ||
@@ -36,0 +36,0 @@ |
const generateWebToken = require('./token'); | ||
const {lookupUser} = require('./auth'); | ||
const { lookupUser } = require('./auth'); | ||
@@ -4,0 +4,0 @@ module.exports = { |
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
187261