fix(#1988): correct stale api/state reference in vnc auth comment
This commit is contained in:
parent
194da43c66
commit
24cf69f72c
1 changed files with 1 additions and 1 deletions
|
|
@ -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';
|
||||
|
|
|
|||
Loading…
Reference in a new issue