New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

larvituser

Package Overview
Dependencies
Maintainers
1
Versions
263
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

larvituser - npm Package Compare versions

Comparing version 0.5.5 to 0.5.6

5

controllers/adminUsers/edit.js

@@ -27,3 +27,3 @@ 'use strict';

if ( ! data.global.formFields.password) {
if (data.global.formFields.disableLogin === 'yes') {
newPassword = false;

@@ -112,3 +112,3 @@ } else {

// Update password
if (data.global.formFields.password.trim() !== '') {
if (data.global.formFields.password.trim() !== '' || newPassword === false) {
tasks.push(function(cb) {

@@ -157,2 +157,3 @@ if (data.global.errors.length) { cb(); return; }

'username': user.username,
'passwordIsFalse': user.passwordIsFalse,
'fields': user.fields

@@ -159,0 +160,0 @@ };

@@ -364,2 +364,3 @@ 'use strict';

' u.username,\n' +
' u.password,\n' +
' uf.uuid AS fieldUuid,\n' +

@@ -388,2 +389,8 @@ ' uf.name AS fieldName,\n' +

if (rows[0].password === '') {
returnObj.passwordIsFalse = true;
} else {
returnObj.passwordIsFalse = false;
}
for (let i = 0; rows[i] !== undefined; i ++) {

@@ -390,0 +397,0 @@ const row = rows[i];

2

package.json
{
"name": "larvituser",
"version": "0.5.5",
"version": "0.5.6",
"author": {

@@ -5,0 +5,0 @@ "name": "Mikael 'Lilleman' Göransson",

Sorry, the diff of this file is not supported yet

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