mirror of
git://git.proxmox.com/git/proxmox-backup.git
synced 2024-12-22 13:34:16 +03:00
auth: doc: Explicitly set namespace for UserInfomation
Fixes the cargo doc warning: ``` warning: unresolved link to `UserInformation` --> src/auth.rs:418:53 | 418 | /// Check if a userid is enabled and return a [`UserInformation`] handle. | ^^^^^^^^^^^^^^^ no item named `UserInformation` in scope | = help: to escape `[` and `]` characters, add '\' before them like `\[` or `\]` = note: `#[warn(rustdoc::broken_intra_doc_links)]` on by default ``` Signed-off-by: Maximiliano Sandoval <m.sandoval@proxmox.com>
This commit is contained in:
parent
d430b05ec3
commit
bf063e4494
@ -415,7 +415,7 @@ impl proxmox_auth_api::api::AuthContext for PbsAuthContext {
|
||||
"PBSAuthCookie"
|
||||
}
|
||||
|
||||
/// Check if a userid is enabled and return a [`UserInformation`] handle.
|
||||
/// Check if a userid is enabled and return a [`proxmox_router::UserInformation`] handle.
|
||||
fn auth_id_is_active(&self, auth_id: &Authid) -> Result<bool, Error> {
|
||||
Ok(pbs_config::CachedUserInfo::new()?.is_active_auth_id(auth_id))
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user