summaryrefslogtreecommitdiffstats
path: root/modules-available/rebootcontrol/clientscript.js
diff options
context:
space:
mode:
Diffstat (limited to 'modules-available/rebootcontrol/clientscript.js')
-rw-r--r--modules-available/rebootcontrol/clientscript.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules-available/rebootcontrol/clientscript.js b/modules-available/rebootcontrol/clientscript.js
index 447072a0..51fac040 100644
--- a/modules-available/rebootcontrol/clientscript.js
+++ b/modules-available/rebootcontrol/clientscript.js
@@ -10,9 +10,9 @@ document.addEventListener('DOMContentLoaded', function() {
setTimeout(updateClientStatus, Math.max(1, 30 - stillActive) * 1000);
$.ajax({
url: "?do=rebootcontrol",
- method: "POST",
+ method: "GET",
dataType: 'json',
- data: { token: TOKEN, action: "clientstatus", clients: clients }
+ data: { action: "clientstatus", clients: clients }
}).done(function(data) {
console.log(data);
if (!data)