upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/sub_commands/login.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/ngit/sub_commands/login.rs')
-rw-r--r--src/bin/ngit/sub_commands/login.rs13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/bin/ngit/sub_commands/login.rs b/src/bin/ngit/sub_commands/login.rs
index 7670bc3..ccbdf01 100644
--- a/src/bin/ngit/sub_commands/login.rs
+++ b/src/bin/ngit/sub_commands/login.rs
@@ -64,8 +64,17 @@ async fn logout(git_repo: Option<&Repo>, local_only: bool) -> Result<(bool, bool
64 } else { 64 } else {
65 vec![SignerInfoSource::GitLocal, SignerInfoSource::GitGlobal] 65 vec![SignerInfoSource::GitLocal, SignerInfoSource::GitGlobal]
66 } { 66 } {
67 if let Ok((_, user_ref, source)) = 67 if let Ok((_, user_ref, source)) = load_existing_login(
68 load_existing_login(&git_repo, &None, &None, &Some(source), None, true, false).await 68 &git_repo,
69 &None,
70 &None,
71 &Some(source),
72 None,
73 true,
74 false,
75 false,
76 )
77 .await
69 { 78 {
70 match Interactor::default().choice( 79 match Interactor::default().choice(
71 PromptChoiceParms::default() 80 PromptChoiceParms::default()