diff --git a/src/user_management/manager.rs b/src/user_management/manager.rs
index 3ccd150..2dacd35 100644
--- a/src/user_management/manager.rs
+++ b/src/user_management/manager.rs
@@ -4,13 +4,16 @@ use serde::{Deserialize, Serialize, de::DeserializeOwned};
use std::path::Path;
use crate::user_management::{User, Result};
-use crate::user_management::user::{SignedInUser, NotSignedInUser, UserInner};
+use crate::user_management::user::{SignedInUser, NotSignedInUser, PartialUser};
#[derive(Debug, Clone, Deserialize, Serialize)]
/// Data stored in the certificate tree about a certain certificate
pub struct CertificateData {
#[serde(with = "CertificateDef")]
+ /// The certificate in question
pub certificate: Certificate,
+
+ /// The username of the user to which this certificate is registered
pub owner_username: String,
}
@@ -71,7 +74,7 @@ impl UserManager {
pub fn lookup_user<'de, UserData>(
&self,
username: impl AsRef<[u8]>
- ) -> Result