You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Remote login displays codenomad as a placeholder but submits an empty username #616
The remote login page visually displays the default username (codenomad), but it is only placeholder text. The input's actual value is empty, so entering a password and pressing Continue does not submit the displayed username. This is especially misleading on a phone, where the field appears to have already been populated.
Steps to Reproduce
In the Tauri app, enable Allow connections from other IPs and configure a server password.
From another device, open one of the HTTPS remote-access addresses (reproduced over Tailscale).
Observe that the username field appears to show codenomad.
Enter the configured password without manually retyping the apparently populated username.
Press Continue.
Authentication does not proceed because the username input's value is empty.
Manually type codenomad into the username field and submit again; login succeeds.
Expected Behavior
The displayed default username should be the input's actual value, so the form submits codenomad unless the user intentionally changes it.
Root Cause
In packages/server/src/server/routes/auth-pages/login.html, the username is rendered only as a placeholder:
I applied this change locally to both the source template and installed server resource. Login was then verified successfully from a phone through the Tailscale address. No password hashing, cookie, or network behavior needs to change.
Additional Context
This is distinct from #128, which concerned LAN authentication/session behavior over HTTP. In this case HTTPS connectivity and the password were valid; explicitly entering the username made the same login succeed.
Activity
fix(auth): submit the displayed default username (NeuralNomadsAI#620)