mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-24 19:57:18 +02:00
Merge branch 'dev4' of https://github.com/tastendruecker123/ahoy into tastendruecker123-dev4
default of scheduled reboot is now 'false'
This commit is contained in:
commit
81a7f09e3a
5 changed files with 19 additions and 0 deletions
|
@ -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}") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue