* fix missing refresh URL #1366
* fix view of grid profile #1365
* fix webUI translation #1346
* fix protection mask #1352
This commit is contained in:
lumapu 2024-01-17 22:08:17 +01:00
parent f503516c9f
commit 8c9be73091
6 changed files with 12 additions and 4 deletions

View file

@ -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);
}