Add UI logic to hide ArduinoOTA checkbox and remove configuration items

This commit is contained in:
Blaž Kristan
2025-04-20 11:44:26 +02:00
parent ca7d7d9369
commit 8baf0fdef7
5 changed files with 19 additions and 1 deletions

View File

@@ -593,7 +593,9 @@ void handleSettingsSet(AsyncWebServerRequest *request, byte subPage)
{
otaLock = request->hasArg(F("NO"));
wifiLock = request->hasArg(F("OW"));
#ifndef WLED_DISABLE_OTA
aOtaEnabled = request->hasArg(F("AO"));
#endif
//createEditHandler(correctPIN && !otaLock);
}
}