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

larvituser

Package Overview
Dependencies
Maintainers
2
Versions
265
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.8.4 to 0.8.5

15

controllers/adminUsers/edit.js

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

tasks.push(function(cb) {
if (data.global.errors.length) { cb(); return; }
if (data.global.errors.length) { return cb(); }

@@ -112,3 +112,3 @@ userLib.create(data.global.formFields.username, newPassword, userFields, function(err, result) {

if (data.global.errors.length) { cb(); return; }
if (data.global.errors.length) { return cb(); }

@@ -121,3 +121,3 @@ user.setUsername(data.global.formFields.username.trim(), cb);

tasks.push(function(cb) {
if (data.global.errors.length) { cb(); return; }
if (data.global.errors.length) { return cb(); }

@@ -130,3 +130,3 @@ user.setPassword(newPassword, cb);

tasks.push(function(cb) {
if (data.global.errors.length) { cb(); return; }
if (data.global.errors.length) { return cb(); }

@@ -137,5 +137,8 @@ user.replaceFields(userFields, cb);

tasks.push(function(cb) {
if (data.global.errors.length) { cb(); return; }
if (data.global.errors.length) { return cb(); }
data.global.messages = ['Saved'];
req.session.data.nextCallData = {'global': {'messages': ['New user created']}};
res.statusCode = 302;
res.setHeader('Location', '/adminUsers/edit?uuid=' + user.uuid);
cb();

@@ -142,0 +145,0 @@ });

2

package.json
{
"name": "larvituser",
"version": "0.8.4",
"version": "0.8.5",
"author": {

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

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