From 24cf69f72cd3c0655409a6879b6db301a0331e08 Mon Sep 17 00:00:00 2001 From: damocles Date: Sat, 27 Jun 2026 19:40:10 +0200 Subject: [PATCH] fix(#1988): correct stale api/state reference in vnc auth comment --- frontend/packages/agent/src/screen.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/packages/agent/src/screen.html b/frontend/packages/agent/src/screen.html index 393f0398..14a4fc6f 100644 --- a/frontend/packages/agent/src/screen.html +++ b/frontend/packages/agent/src/screen.html @@ -453,7 +453,7 @@ // BEFORE PAM is ever consulted — an empty/garbage username is // rejected outright. Our weston runs as the agent's own // non-root user (weston-vnc.nix forbids root), so the username - // must be that agent's name — resolved from /api/dashboard-state + // must be that agent's name — resolved from `api/state` // above. The password stays empty; pam_permit.so on the // weston-remote-access PAM service accepts it. const username = (await agentLabelPromise) || 'root';