Commit Graph
6 Commits
Author SHA1 Message Date
Alexey MilovidovandClaude Opus 4.7 0848414e02 Web pages: empty user input falls back to server default
The "user" input on `play.html` and on the other web pages
(`dashboard.html`, `jemalloc.html`, `merges.html`, `binary.html`,
`webterminal.html`) previously came pre-filled with the literal text
`default`. Replace that with an empty value and a `user` placeholder
hint. When the value is empty, the page does not send a `user=` query
parameter (or, in the WebTerminal protocol, omits the `user` field
from the auth JSON), letting the server fall back to its configured
default user — which is not necessarily named `default`.

For the WebTerminal, `parseAuthMessage` now treats the `user` field as
optional: when omitted or empty, the caller-provided default is
preserved. The call site seeds it with `default`, mirroring the HTTP
fallback in `authenticateUserByHTTP`.

Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
2026-05-18 18:53:07 +02:00
Alexey Milovidov d50a840aff Better regexp 2025-02-15 08:17:11 +01:00
Alexey Milovidov bcc6226a06 Improve the "binary" page 2025-02-15 07:53:19 +01:00
Alexey Milovidov 667256a67d Fixes for binary.html 2024-02-01 20:36:38 +01:00
Alexey Milovidov 4dcf27e5b2 /binary: allow specifying user/password/host 2024-01-28 18:27:15 +01:00
Alexey Milovidov 0e89d01b94 Binary (symbols) viewer 2023-12-24 12:14:45 +01:00