From 1b7411d2b2f664a0ecf636c8d9236748b62a3171 Mon Sep 17 00:00:00 2001 From: Aryan Date: Fri, 15 May 2026 22:51:44 -0400 Subject: [PATCH] Respect provided live-view credentials --- .../chromium-headful/client/src/components/connect.vue | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/images/chromium-headful/client/src/components/connect.vue b/images/chromium-headful/client/src/components/connect.vue index 43d81af1..0883cbfd 100644 --- a/images/chromium-headful/client/src/components/connect.vue +++ b/images/chromium-headful/client/src/components/connect.vue @@ -102,8 +102,13 @@ displayname = this.$accessor.displayname || usr } - // KERNEL: auto-login - this.$accessor.login({ displayname: 'kernel', password: 'admin' }) + // KERNEL: auto-login, but respect caller-supplied credentials first. + // This keeps the legacy fallback for existing deployments while allowing + // embeds and links that provide explicit credentials to work as intended. + this.$accessor.login({ + displayname: displayname || 'kernel', + password: password || 'admin', + }) this.autoPassword = null }