mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2024-12-26 07:05:52 -05:00
Fixed removeuserfromdevice in MeshCtrl.js
This commit is contained in:
parent
7ca1e1e907
commit
b88cbf0ba7
@ -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