Merge branch 'dev4' of https://github.com/tastendruecker123/ahoy into tastendruecker123-dev4

default of scheduled reboot is now 'false'
This commit is contained in:
lumapu 2023-07-05 23:27:42 +02:00
commit 81a7f09e3a
5 changed files with 19 additions and 0 deletions

View file

@ -454,6 +454,7 @@ class Web {
if (request->arg("device") != "")
request->arg("device").toCharArray(mConfig->sys.deviceName, DEVNAME_LEN);
mConfig->sys.darkMode = (request->arg("darkMode") == "on");
mConfig->sys.schedReboot = (request->arg("schedReboot") == "on");
// protection
if (request->arg("adminpwd") != "{PWD}") {