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:
parent
980ab3b4a6
commit
8d4def18bb
5 changed files with 8 additions and 4 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue