last small fixes before release

This commit is contained in:
Nic Limper
2024-01-01 13:25:42 +01:00
parent 43fd751d1e
commit 4f7a226312
4 changed files with 3 additions and 3 deletions

Binary file not shown.

View File

@@ -462,7 +462,7 @@ void processDataReq(struct espAvailDataReq* eadr, bool local, IPAddress remoteIP
tagRecord* taginfo = tagRecord::findByMAC(eadr->src);
if (taginfo == nullptr) {
if (config.lock) return;
if (config.lock == 1 || (config.lock == 2 && eadr->adr.wakeupReason != WAKEUP_REASON_FIRSTBOOT)) return;
taginfo = new tagRecord;
memcpy(taginfo->mac, eadr->src, sizeof(taginfo->mac));
taginfo->pending = false;

View File

@@ -323,8 +323,8 @@
<label for="apclock">Lock tag inventory</label>
<select id="apclock">
<option value="0" selected>no</option>
<option value="1">locked: only allows known tags</option>
<option value="2">learning: only add unknown tags that are booting</option>
<option value="1">locked: don't add new tags</option>
<option value="2">learning: only add new tags that are booting</option>
</select>
</p>
<p title="Wifi transmit power">