mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-01-27 06:33:15 -05:00
Fixed removeuserfromdevice in MeshCtrl.js
This commit is contained in:
parent
23f087c460
commit
a5e8454cff
@ -686,7 +686,7 @@ function serverConnect() {
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case 'removeuserfromdevice': {
|
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));
|
ws.send(JSON.stringify(op));
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user