One Button, Six Magic Words: The Phosphor Login Screen and a Password Reset That Arrives
November 11, 2026
A BBS login screen has a hard job. It has to greet strangers well enough that they become users, greet regulars quickly, and quietly serve as the front door for everything going wrong before it goes worse — forgotten passwords, dead addresses, the sysop’s email server. Phosphor’s login screen recently got a ground-floor remodel covering all of that. This post is about what’s there now and why each piece earns its place.
The problem: every path had its own button, and the paths ran out
For a while the front door grew a button per task: login, register, forgot password, verify email, help. Every user paid the clutter tax so that every task had an affordance. Worse, the affordances didn’t compose — a caller who forgot their password had buttons, but no trail: nothing on screen suggested which door their situation actually needed.
The remodel collapses it all into one row and puts the intelligence where the user’s hands already are.
Magic words at the name prompt
The name box now understands six magic words, typed like a name, case-insensitive, leading/trailing spaces trimmed:
NEW · FORGOT · VERIFY · RESET · GUEST · HELP
Each opens its door and never attempts a login. The routing lives in one place — every path funnels through the same dispatch:
if (isMagicWord(usernameBox.getValue())) {
attemptLogin(); // the one dispatch point — reads the name, routes the word
return;
}
One dispatch point matters more than it looks: it’s the single seam where each word degrades, validates, or refuses, and it means adding a door never means adding a second code path for handling a word typed at the wrong prompt. A muted footnote tells newcomers the words exist without shouting at regulars.
For everything short of typing, the screen carries exactly two buttons — [ Login ] and [ Help ] — and Help opens a modal listing the five doors it leads to as plain <word> - <label> rows (FORGOT - Forgot Password, GUEST - Guest Login, …). Keyboard steering reaches it the same way it reaches Login: Tab until it’s highlighted, Enter.
The guest lane
GUEST logs the caller into a seeded guest account — no registration form, and no password anywhere (the account’s password is generated, stored, and never displayed or logged). Guests get the reading-and-community floor: boards, chat, files, mail reading, the whole browsing loop.
What guests don’t get is deliberate. They can’t mint a device pairing (the QR pairing lane is for registered accounts), and they can’t send NetMail (reads stay open — composing outbound mail as a guest is exactly the vector a drive-by visitor would abuse). Both gates are fail-closed: the predicate is the account, not a label, so a creatively renamed guest can’t slip through. If a guest wants to post and send mail, the way in is NEW — registration takes a minute and preserves the reading session’s niceness.
Email, as a setting instead of a secret
For years the mail relay config lived where config goes to die: hardcoded constants in the sending class, overridable by system properties, editable by nobody except whoever holds the source tree. That’s wrong for a BBS, whose sysop is often not the author of the server.
Now the connection facts are ordinary sysop settings — mail.smtp.host, mail.smtp.port, mail.smtp.from, mail.smtp.user, mail.smtp.use_ssl, mail.smtp.use_starttls, and mail.smtp.password — exposed in the System Config screen’s Email section, with a masked password field (edit-only: you can overwrite it, you can never see it) and a one-line [X] Send Test Email button that gives an honest verdict instead of a silent shrug. Boot logs one count-only line — host, port, mode — and the password never appears in any log, ever.
Upgrades respect existing installs: a node that already boots with a working relay inherits those values seeded into the settings table, set-if-absent, so an update never silently swaps the operator’s mail server. Fresh installs default to a plain localhost SMTP, which is the honest answer for a machine that hasn’t been pointed at a relay yet.
A password reset that actually arrives
The reset flow got both of its common failure modes fixed.
Who is eligible. A reset email only goes out when the account exists, isn’t banned, has an email on file, and that email is verified — with the typed address case-insensitively matching the stored one. Every ineligible combination produces the same user-visible outcome as success (the constant-response pattern that defeated address enumeration for free), and the reasons log server-side for the sysop:
LOG.warning("[PWRESET] reset request for '" + username.trim()
+ "' — no eligible account (constant response shown)");
If your address isn’t verified, the fix is VERIFY at the name prompt — a code lands in your inbox, you type it back once, and resets start working. (An unverified email is, after all, an email that’s never proven it’s yours.)
Which lane the email takes. The delivery itself is the sysop’s SMTP settings from the previous section, not a hardcoded relay — so the reset email leaves through whichever server you’ve configured, with connection facts you can see and test in the UI.
The token. Eligible requests get a single-use, hashed, time-limited token; old outstanding tokens are invalidated the moment a new one is issued; failed attempts consume the per-username rate budget, which quietly makes brute-forcing tokens from the login prompt a losing game. The email carries both ways home — a web link and a token typed into RESET at the BBS prompt.
What you get
- A front door that fits on one row: two buttons, six words, one footnote.
- One dispatch seam for every pre-login flow, so each door refuses or routes identically.
- A guest lane with a real capability floor and fail-closed abuse gates.
- Mail that belongs to the sysop: settings you can edit, test, and audit from the UI, with secrets never logged.
- Resets that work or explain themselves silently — eligibility enforced, enumeration defeated by constancy, tokens hashed and single-use.
None of it changes what a regular does: type your name, type your password, Enter. It changes what happens on everything around that — which, on a board that wants strangers to become regulars, is the part worth getting right. Everything above ships in the current server release; the invite-a-friend flow pairs nicely with JNet v2.