1
0
Fork 0
mirror of https://github.com/Ylianst/MeshCentral.git synced 2025-03-09 15:40:18 +00:00

Fix for Express-handlebars@3.1.0

This commit is contained in:
Ylian Saint-Hilaire 2019-05-14 17:14:43 -07:00
parent 980ab3b4a6
commit 8d4def18bb
5 changed files with 8 additions and 4 deletions

View file

@ -958,6 +958,7 @@ module.exports.CreateMeshUser = function (parent, db, ws, req, args, domain, use
{
// Add many new user accounts
if ((user.siteadmin & 2) == 0) break;
if ((domain.auth == 'sspi') || (domain.auth == 'ldap')) break;
if (!Array.isArray(command.users)) break;
var userCount = 0;
for (var i in command.users) {