mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-12 15:33:20 -05:00
Fixed removeuserfromdevice in MeshCtrl.js
This commit is contained in:
parent
23f087c460
commit
a5e8454cff
@ -686,7 +686,7 @@ function serverConnect() {
|
||||
break;
|
||||
}
|
||||
case 'removeuserfromdevice': {
|
||||
var op = { action: 'adddeviceuser', nodeid: args.id, usernames: [args.userid], rights: 0, responseid: 'meshctrl' };
|
||||
var op = { action: 'adddeviceuser', nodeid: args.id, usernames: [args.userid], rights: 0, remove: true, responseid: 'meshctrl' };
|
||||
ws.send(JSON.stringify(op));
|
||||
break;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user