[Self-hosted] Registration form still requires Email and treats Username as optional when Sign-in Method is set to Username-only

(#3709) Bug Closed: Fixed Priority: P0 desktop security self-hosting ui

Reproduction steps

Set up a self-hosted Fluxer instance. Configure the instance so that the only enabled Sign-in Method is Username. In the client, open Manage accounts → add/register a new account. Observe the “Create an account” form.

Observed behaviour

When adding a new account via Manage accounts on a self-hosted instance whose Sign-in Method is restricted to Username only, the “Create an account” form still behaves as if email-based sign-in were enabled: The Email field is shown (and appears to be required). The Username field is labeled (optional) with the placeholder “Leave blank for a random username”.

Platform

Self-hosting

  1. Hampus changed the status from Needs triage to Fix pending
  2. Rex changed the status from Fix pending to Awaiting confirmation
  3. Hampus changed the status from Awaiting confirmation to Fix pending
  4. Rex changed the status from Fix pending to Awaiting confirmation
  5. Tomo changed the status from Awaiting confirmation to Fixed
  1. The pull request fluxer#3430 mentions this post Merged

9 comments

Sign in with Fluxer to comment and vote.
Comment by Hampus
HampusStaff 3 votes 2 replies
While this is prompting to confirm the fix, it won't be fixed in the desktop client until the desktop client update arrives.
Comment by Hampus
HampusStaff 1 vote 1 reply
And while it now prompted to confirm the fix automatically again, the desktop client update is still rolling out, so wait for that green update icon :P
Comment by Hampus
HampusStaff 1 vote
You can now try it out after updating to Canary Desktop 2026.1012.154032, Web 2026.1012.182913!
Comment by dander
dander 2 votes 4 replies
Can confirm that this is happening on the latest version of both canary desktop and web.
  • Desktop:
Canary Desktop 2026.1009.45608, Web 2026.1011.125152, Linux 7.2.9-100.fc43.x86_64 (x64), Electron 44.4.1, Chrome 152.0.7977.78, Node 24.21.0, Locale en-GB
  • Web:
Canary Web 2026.1011.125122, Linux (x64), Firefox 157.0, Locale en-US

Recreation Steps

  • Make a self-hosted instance with usernames as the login method
  • Login with an existing account
  • Open the Account Switcher
  • Choose to add a new account
  • Click "Register an Account"
  • Observe that the Email field is present and not treated a optional (it shouldnt really be here in the first place. the register link does not have it)
Comment by Tomo
Tomo OP1 vote 3 replies
Yet...This issue persists in the latest stable client; I don't understand why a UI problem that is so easy to fix—and which genuinely impacts the self-hosting user experience—hasn't been resolved.
Comment by Hampus
HampusStaff 1 vote 2 replies
This is the first time I'm seeing this post. It was posted 3 days ago. I've had a lot of other things to do. I'm alone on this.
Comment by Hampus
HampusStaff 2 votes 1 reply
Username mode is also very new. Fluxer is very new too.
Comment by Tomo
Tomo OP1 vote edited
Oops...sorry, I jumped the gun a bit there. Please excuse me if I sounded impatient. Thanks for the reply and the explanation, and hope everything goes smoothly!