mirror of
https://github.com/openai/codex.git
synced 2026-11-20 23:08:21 +00:00
Clarify device auth login hint (#12813)
Mention device auth for remote login
This commit is contained in:
1 parent
40ab71a985
commit
2c1f225427
1 file changed
+1
-1
@@ -22,7 +22,7 @@ const LOGIN_SUCCESS_MESSAGE: &str = "Successfully logged in";
|
|||||||
|
|
||||||
fn print_login_server_start(actual_port: u16, auth_url: &str) {
|
fn print_login_server_start(actual_port: u16, auth_url: &str) {
|
||||||
eprintln!(
|
eprintln!(
|
||||||
"Starting local login server on http://localhost:{actual_port}.\nIf your browser did not open, navigate to this URL to authenticate:\n\n{auth_url}"
|
"Starting local login server on http://localhost:{actual_port}.\nIf your browser did not open, navigate to this URL to authenticate:\n\n{auth_url}\n\nOn a remote or headless machine? Use `codex login --device-auth` instead."
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user