From 08397221abcd009fee1ab1b69d92b107b604bee1 Mon Sep 17 00:00:00 2001 From: DanConwayDev Date: Tue, 26 Nov 2024 14:48:23 +0000 Subject: fix(login): local option saves globally when already logged, the option to login locally with different keys try to login globally --- src/bin/ngit/sub_commands/login.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/bin') diff --git a/src/bin/ngit/sub_commands/login.rs b/src/bin/ngit/sub_commands/login.rs index 16026dd..29b4e81 100644 --- a/src/bin/ngit/sub_commands/login.rs +++ b/src/bin/ngit/sub_commands/login.rs @@ -47,7 +47,7 @@ pub async fn launch(args: &Cli, command_args: &SubCommandArgs) -> Result<()> { &git_repo.as_ref(), client.as_ref(), extract_signer_cli_arguments(args)?, - command_args.local, + log_in_locally_only || command_args.local, ) .await?; } -- cgit v1.2.3