Skip to content

Commit

Permalink
improve login
Browse files Browse the repository at this point in the history
  • Loading branch information
Milo123459 committed Oct 26, 2023
1 parent 975a01d commit f92f856
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/login.rs
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ pub async fn command(args: Args, _json: bool) -> Result<()> {
let confirm = prompt_confirm_with_default("Open the browser?", true)?;

if !confirm {
return Ok(());
return browserless_login().await;
}

let port = rand::thread_rng().gen_range(50000..60000);
Expand Down

0 comments on commit f92f856

Please sign in to comment.