Skip to content

ThinkNode M6/M1 room_server: set ROOM_PASSWORD default#2938

Merged
liamcottle merged 1 commit into
meshcore-dev:devfrom
benskigomez:fix/room-server-default-password
Jul 13, 2026
Merged

ThinkNode M6/M1 room_server: set ROOM_PASSWORD default#2938
liamcottle merged 1 commit into
meshcore-dev:devfrom
benskigomez:fix/room-server-default-password

Conversation

@benskigomez

Copy link
Copy Markdown

The ThinkNode M6 and M1 room_server envs do not define ROOM_PASSWORD, so the guest password defaults to empty. A client that sends a blank password then matches and is granted read+write (post) access — i.e. the room ships open.

Every other board that builds a room server (m3, t1000-e, rak_wismesh_tag, heltec_t114, …) sets -D ROOM_PASSWORD='"hello"'; M6 and M1 were the only two omitting it. This adds the same default so a freshly flashed M6/M1 room is gated out of the box. Operators can still change it at runtime with set guest.password.

No code changes; two platformio.ini lines.

Without ROOM_PASSWORD the guest password defaults to empty, and a client
sending a blank password is granted read+write access (can post). Every
other board's room_server env sets ROOM_PASSWORD; the ThinkNode M6 and M1
were the only two shipping an open room. Default them to "hello" to match
the rest of the tree; operators can still change it at runtime with
'set guest.password'.
@liamcottle liamcottle merged commit 8e0c9a2 into meshcore-dev:dev Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants