Update docs for the debug web UI, voice plan, and current status
This commit is contained in:
@@ -18,6 +18,19 @@ captcha, the tool shows the challenge and reads a key from `HCAPTCHA_KEY` or fro
|
||||
|
||||
The flow was verified end-to-end on 2026-09-11.
|
||||
|
||||
## Web UI login
|
||||
|
||||
The web UI Login tab runs the same session (`poc/src/qr-session.ts`). See [webui.md](webui.md).
|
||||
|
||||
- `POST /api/auth/qr` starts the session. `GET /api/auth` returns the state and the QR image.
|
||||
- On success the token is written to the token file. A running managed core restarts with
|
||||
`VESKSLOP_FORCE_TOKEN=1`, so the new account takes effect.
|
||||
- A captcha challenge shows the sitekey. Paste the hCaptcha response token to finish.
|
||||
- The API never returns the token.
|
||||
|
||||
To log in a second account, set a different `TOKEN_FILE` for the daemon (and thus the spawned core)
|
||||
and restart the daemon. One daemon manages one account at this time.
|
||||
|
||||
## Token file
|
||||
|
||||
- Default path: `poc/.token`, relative to the `poc/` directory.
|
||||
|
||||
Reference in New Issue
Block a user