upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/sub_commands/logout.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/ngit/sub_commands/logout.rs')
-rw-r--r--src/bin/ngit/sub_commands/logout.rs13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/bin/ngit/sub_commands/logout.rs b/src/bin/ngit/sub_commands/logout.rs
index 682c017..f3f9620 100644
--- a/src/bin/ngit/sub_commands/logout.rs
+++ b/src/bin/ngit/sub_commands/logout.rs
@@ -26,8 +26,17 @@ async fn logout(git_repo: Option<&Repo>) -> Result<()> {
26 } else { 26 } else {
27 vec![SignerInfoSource::GitLocal, SignerInfoSource::GitGlobal] 27 vec![SignerInfoSource::GitLocal, SignerInfoSource::GitGlobal]
28 } { 28 } {
29 if let Ok((_, user_ref, source)) = 29 if let Ok((_, user_ref, source)) = load_existing_login(
30 load_existing_login(&git_repo, &None, &None, &Some(source), None, true, false).await 30 &git_repo,
31 &None,
32 &None,
33 &Some(source),
34 None,
35 true,
36 false,
37 false,
38 )
39 .await
31 { 40 {
32 for item in [ 41 for item in [
33 "nostr.nsec", 42 "nostr.nsec",