upleb.uk

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

summaryrefslogtreecommitdiff
path: root/src/lib/login/existing.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/login/existing.rs')
-rw-r--r--src/lib/login/existing.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/login/existing.rs b/src/lib/login/existing.rs
index efe187e..e60621d 100644
--- a/src/lib/login/existing.rs
+++ b/src/lib/login/existing.rs
@@ -208,7 +208,7 @@ async fn get_signer(
208 Duration::from_secs(10 * 60), 208 Duration::from_secs(10 * 60),
209 None, 209 None,
210 )?; 210 )?;
211 if let Some(public_key) = npub.clone().and_then(|npub| PublicKey::parse(npub).ok()) { 211 if let Some(public_key) = npub.clone().and_then(|npub| PublicKey::parse(&npub).ok()) {
212 s.non_secure_set_user_public_key(public_key)?; 212 s.non_secure_set_user_public_key(public_key)?;
213 let signer: Arc<dyn NostrSigner> = Arc::new(s); 213 let signer: Arc<dyn NostrSigner> = Arc::new(s);
214 Ok((signer, public_key)) 214 Ok((signer, public_key))