From a469507fb6a14ff2d64eb993bf96a3898406b8da Mon Sep 17 00:00:00 2001 From: proddy Date: Sun, 26 Jul 2026 13:42:50 +0200 Subject: [PATCH] add disable_reset --- src/web/WebStatusService.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/web/WebStatusService.cpp b/src/web/WebStatusService.cpp index 211b1c2e3..133fe2efc 100644 --- a/src/web/WebStatusService.cpp +++ b/src/web/WebStatusService.cpp @@ -172,7 +172,8 @@ void WebStatusService::systemStatus(AsyncWebServerRequest * request) { } root["developer_mode"] = EMSESP::system_.developer_mode(); - + root["disable_reset"] = EMSESP::system_.disable_reset(); + // Also used in SystemMonitor.tsx root["status"] = EMSESP::system_.systemStatus(); // send the status. See System.h for status codes if (EMSESP::system_.systemStatus() == SYSTEM_STATUS::SYSTEM_STATUS_PENDING_RESTART) {