From 69aacac68b24f2158467c2a3234ae4eb48db73d1 Mon Sep 17 00:00:00 2001 From: didericis Date: Tue, 21 Jul 2026 13:45:26 -0400 Subject: [PATCH] feat(login): point the printed URL at the hosts-page modal MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Approval now renders over the hosts page at /hosts/authorize?code=… rather than on a standalone page. The console keeps /authorize as a redirect, so this is cosmetic for older consoles. Co-Authored-By: Claude Opus 4.8 --- bot_bottle/cli/login.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot_bottle/cli/login.py b/bot_bottle/cli/login.py index cd00b61..3d00f17 100644 --- a/bot_bottle/cli/login.py +++ b/bot_bottle/cli/login.py @@ -129,7 +129,7 @@ def cmd_login(argv: list[str]) -> int: sys.stderr.write( f"\nOpen this URL in your browser to authorize this host:\n\n" - f" {console_url}/authorize?code={user_code}\n\n" + f" {console_url}/hosts/authorize?code={user_code}\n\n" f"Waiting for approval" )