mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-30 02:09:25 +00:00
tfa: fix warning with types feature w/o api feature
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
5c39559cad
commit
3224f42ff5
@ -112,6 +112,7 @@ pub struct TfaUpdateInfo {
|
||||
pub recovery: Vec<String>,
|
||||
}
|
||||
|
||||
#[cfg(feature = "api")]
|
||||
impl TfaUpdateInfo {
|
||||
pub(crate) fn with_id(id: String) -> Self {
|
||||
Self {
|
||||
|
Loading…
Reference in New Issue
Block a user