upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/bin/ngit/sub_commands/whoami.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/bin/ngit/sub_commands/whoami.rs')
-rw-r--r--src/bin/ngit/sub_commands/whoami.rs9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/bin/ngit/sub_commands/whoami.rs b/src/bin/ngit/sub_commands/whoami.rs
index be79c79..19ce573 100644
--- a/src/bin/ngit/sub_commands/whoami.rs
+++ b/src/bin/ngit/sub_commands/whoami.rs
@@ -154,7 +154,14 @@ async fn load_user_for_scope(
154) -> Option<(String, String, Option<String>)> { 154) -> Option<(String, String, Option<String>)> {
155 // First verify signer info exists for this scope without building a full 155 // First verify signer info exists for this scope without building a full
156 // signer — avoids triggering password prompts for ncryptsec. 156 // signer — avoids triggering password prompts for ncryptsec.
157 if get_signer_info(&git_repo, &signer_info.cloned(), &None, &Some(source.clone())).is_err() { 157 if get_signer_info(
158 &git_repo,
159 &signer_info.cloned(),
160 &None,
161 &Some(source.clone()),
162 )
163 .is_err()
164 {
158 return None; 165 return None;
159 } 166 }
160 167