mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-11-12 06:50:11 -05:00
Fixed account delete issues
This commit is contained in:
@@ -558,6 +558,9 @@ module.exports.CreateWebServer = function (parent, db, args, secret, certificate
|
||||
}
|
||||
}
|
||||
|
||||
// Remove notes for this user
|
||||
obj.db.Remove('nt' + user._id);
|
||||
|
||||
// Remove the user
|
||||
obj.db.Remove(user._id);
|
||||
delete obj.users[user._id];
|
||||
|
||||
Reference in New Issue
Block a user