From ee23043d644d7b87c2834b09e4d1b372ae820611 Mon Sep 17 00:00:00 2001 From: Brendan Allan Date: Thu, 9 Apr 2026 13:18:46 +0800 Subject: Remove CLI from electron app (#17803) Co-authored-by: LukeParkerDev <10430890+Hona@users.noreply.github.com> --- packages/app/src/components/terminal.tsx | 1 + 1 file changed, 1 insertion(+) (limited to 'packages/app/src') diff --git a/packages/app/src/components/terminal.tsx b/packages/app/src/components/terminal.tsx index 31c046c4f..c8430d8bb 100644 --- a/packages/app/src/components/terminal.tsx +++ b/packages/app/src/components/terminal.tsx @@ -521,6 +521,7 @@ export const Terminal = (props: TerminalProps) => { next.searchParams.set("cursor", String(seek)) next.protocol = next.protocol === "https:" ? "wss:" : "ws:" if (!sameOrigin && password) { + next.searchParams.set("auth_token", btoa(`${username}:${password}`)) // For same-origin requests, let the browser reuse the page's existing auth. next.username = username next.password = password -- cgit v1.2.3