MCPcopy Create free account
hub / github.com/bmorcelli/Launcher / logoutButton

Function logoutButton

webUi/scripts.js:260–263  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

258 ajax.send(formdata);
259}
260function logoutButton() {
261 httpRequest("GET", "/logout");
262 setTimeout(function () { window.open("/logged-out", "_self"); }, 500);
263}
264function rebootButton() {
265 if (confirm("Confirm Restart?!")) {
266 httpRequest("GET", "/reboot");

Callers

nothing calls this directly

Calls 1

httpRequestFunction · 0.85

Tested by

no test coverage detected