mirror of
https://github.com/lumapu/ahoy.git
synced 2025-07-23 19:27:13 +02:00
0.8.58
* fix missing refresh URL #1366 * fix view of grid profile #1365 * fix webUI translation #1346 * fix protection mask #1352
This commit is contained in:
parent
f503516c9f
commit
8c9be73091
6 changed files with 12 additions and 4 deletions
|
@ -488,7 +488,7 @@ class Web {
|
|||
mProtected = (strlen(mConfig->sys.adminPwd) > 0);
|
||||
}
|
||||
mConfig->sys.protectionMask = 0x0000;
|
||||
for (uint8_t i = 0; i < 6; i++) {
|
||||
for (uint8_t i = 0; i < 7; i++) {
|
||||
if (request->arg("protMask" + String(i)) == "on")
|
||||
mConfig->sys.protectionMask |= (1 << i);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue