mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
Fixed account delete issues
This commit is contained in:
parent
8580f54861
commit
cda8a54b0b
3 changed files with 22 additions and 1 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue