mirror of
https://git.proxmox.com/git/proxmox
synced 2025-06-01 10:42:10 +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>,
|
pub recovery: Vec<String>,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#[cfg(feature = "api")]
|
||||||
impl TfaUpdateInfo {
|
impl TfaUpdateInfo {
|
||||||
pub(crate) fn with_id(id: String) -> Self {
|
pub(crate) fn with_id(id: String) -> Self {
|
||||||
Self {
|
Self {
|
||||||
|
Loading…
Reference in New Issue
Block a user