sync with upstream dev

This commit is contained in:
liquidraver
2026-07-30 11:16:31 +02:00
parent cceb6606e1
commit 9354975acf
12 changed files with 347 additions and 33 deletions
+6
View File
@@ -161,6 +161,12 @@ uint8_t RepeaterMesh::handleLoginReq(const mesh::Identity& sender, const uint8_t
guest_pw,
sizeof(received));
/* An empty stored guest password disables guest access (as
* CONFIG_ZEPHCORE_GUEST_PASSWORD documents) rather than matching an
* empty submitted password and letting anyone in. Both compares above
* still run unconditionally, so timing is unchanged. */
if (_prefs.guest_password[0] == 0) guest_match = false;
if (admin_match) {
perms = PERM_ACL_ADMIN;
} else if (guest_match) {