feat(login): point the printed URL at the hosts-page modal
tracker-policy-pr / check-pr (pull_request) Successful in 6s
test / integration-docker (pull_request) Successful in 15s
lint / lint (push) Successful in 53s
test / unit (pull_request) Successful in 1m33s
test / integration-firecracker (pull_request) Successful in 3m24s
test / coverage (pull_request) Successful in 36s
test / publish-infra (pull_request) Has been skipped
tracker-policy-pr / check-pr (pull_request) Successful in 6s
test / integration-docker (pull_request) Successful in 15s
lint / lint (push) Successful in 53s
test / unit (pull_request) Successful in 1m33s
test / integration-firecracker (pull_request) Successful in 3m24s
test / coverage (pull_request) Successful in 36s
test / publish-infra (pull_request) Has been skipped
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 <noreply@anthropic.com>
This commit is contained in:
@@ -129,7 +129,7 @@ def cmd_login(argv: list[str]) -> int:
|
|||||||
|
|
||||||
sys.stderr.write(
|
sys.stderr.write(
|
||||||
f"\nOpen this URL in your browser to authorize this host:\n\n"
|
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"
|
f"Waiting for approval"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user