auth-api: docs: remove wrong return info

The method returns a boolean.

Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
Reviewed-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
Maximiliano Sandoval 2024-08-07 09:43:56 +02:00 committed by Thomas Lamprecht
parent 920fc41b2f
commit 642db84474

View File

@ -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.