tree-wide: fix needless borrows
found and fixed via clippy Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
This commit is contained in:
@ -95,7 +95,7 @@ pub fn update_webauthn_config(
|
||||
let digest = <[u8; 32]>::from_hex(digest)?;
|
||||
crate::tools::detect_modified_configuration_file(
|
||||
&digest,
|
||||
&crate::config::tfa::webauthn_config_digest(&wa)?,
|
||||
&crate::config::tfa::webauthn_config_digest(wa)?,
|
||||
)?;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user