Sign-up fixed on fresh self-hosted FarmBot servers
A pull request written with Claude Code treats blank terms-of-service and domain settings as unset, after a fresh server built from the example config rejected every sign-up.
Credits
- Source byline tencur Source ↗
Earliest dated source:
The full story
On a fresh self-hosted FarmBot server set up from the example configuration, nobody could create an account. The blank terms-of-service setting hid the terms checkbox but still required it to be ticked, and a blank or default trusted-domains setting rejected every email address, including the demo button's.
The pull request treats blank TOS_URL and TRUSTED_DOMAINS values as unset and parses NO_EMAILS as a real true or false value. It was generated with Claude Code; the author checked by reading the code that existing tests do not depend on the old behaviour and asked for confirmation from CI.
How it was done
Tools
Themes
Loading themes…
Sources
From the maker's own write-up or code. We summarise what they report; we haven't tested it ourselves.
- FarmBot on GitHub: Signup: treat blank TOS_URL / TRUSTED_DOMAINS as unset and parse NO_EMAILS as a real booleanSource byline: tencurPublished
The FarmBot pull request describing what users saw and the fix.