forked from Proxmox/proxmox
tfa: fix a compile warning
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
937d985489
commit
2e9526dcdd
@ -456,7 +456,7 @@ pub fn update_tfa_entry(
|
||||
description: Option<String>,
|
||||
enable: Option<bool>,
|
||||
) -> Result<(), EntryNotFound> {
|
||||
let mut entry = config
|
||||
let entry = config
|
||||
.users
|
||||
.get_mut(userid)
|
||||
.and_then(|user| user.find_entry_mut(id))
|
||||
|
Loading…
x
Reference in New Issue
Block a user