klark-js-plugins
Advanced tools
Comparing version 1.0.29 to 1.0.30
{ | ||
"name": "klark-js-plugins", | ||
"version": "1.0.29", | ||
"version": "1.0.30", | ||
"description": "Plugin modules for KlarkJS", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -103,3 +103,3 @@ 'use strict'; | ||
if (!validationOpts[0].value) { | ||
res.locals.errors.add('INVALID_PARAMS', ['invalid email address']); | ||
res.locals.errors.add('INVALID_PARAMS', 'invalid email address'); | ||
return next(true); | ||
@@ -110,3 +110,3 @@ } | ||
if (!(_.isString(pass) && pass.length >= 6)) { | ||
res.locals.errors.add('INVALID_PARAMS', ['invalid password']); | ||
res.locals.errors.add('INVALID_PARAMS', 'invalid password'); | ||
return next(true); | ||
@@ -113,0 +113,0 @@ } |
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
80221