mirror of
https://git.proxmox.com/git/proxmox
synced 2025-04-29 18:45:49 +00:00
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:
parent
920fc41b2f
commit
642db84474
@ -63,7 +63,7 @@ pub trait AuthContext: Send + Sync {
|
|||||||
/// Access the TFA config with an exclusive lock.
|
/// Access the TFA config with an exclusive lock.
|
||||||
fn tfa_config_write_lock(&self) -> Result<Box<dyn LockedTfaConfig>, Error>;
|
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>;
|
fn auth_id_is_active(&self, auth_id: &Authid) -> Result<bool, Error>;
|
||||||
|
|
||||||
/// CSRF prevention token secret data.
|
/// CSRF prevention token secret data.
|
||||||
|
Loading…
Reference in New Issue
Block a user