mirror of
https://git.proxmox.com/git/proxmox
synced 2025-05-06 23:29:56 +00:00
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>,
|
description: Option<String>,
|
||||||
enable: Option<bool>,
|
enable: Option<bool>,
|
||||||
) -> Result<(), EntryNotFound> {
|
) -> Result<(), EntryNotFound> {
|
||||||
let mut entry = config
|
let entry = config
|
||||||
.users
|
.users
|
||||||
.get_mut(userid)
|
.get_mut(userid)
|
||||||
.and_then(|user| user.find_entry_mut(id))
|
.and_then(|user| user.find_entry_mut(id))
|
||||||
|
Loading…
Reference in New Issue
Block a user