[pbs-devel] [PATCH proxmox 10/10] auth-api: docs: remove wrong return info

Maximiliano Sandoval m.sandoval at proxmox.com
Wed Aug 7 09:43:56 CEST 2024


The method returns a boolean.

Signed-off-by: Maximiliano Sandoval <m.sandoval at proxmox.com>
---
 proxmox-auth-api/src/api/mod.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/proxmox-auth-api/src/api/mod.rs b/proxmox-auth-api/src/api/mod.rs
index 82b4d42a..a6f9d425 100644
--- a/proxmox-auth-api/src/api/mod.rs
+++ b/proxmox-auth-api/src/api/mod.rs
@@ -63,7 +63,7 @@ pub trait AuthContext: Send + Sync {
     /// Access the TFA config with an exclusive lock.
     fn tfa_config_write_lock(&self) -> Result<Box<dyn LockedTfaConfig>, Error>;
 
-    /// Check if a userid is enabled and return a [`UserInformation`] handle.
+    /// Check if a userid is enabled.
     fn auth_id_is_active(&self, auth_id: &Authid) -> Result<bool, Error>;
 
     /// CSRF prevention token secret data.
-- 
2.39.2





More information about the pbs-devel mailing list