mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-06-13 22:30:08 +00:00
fix clippy warnings
This commit is contained in:
parent
17385f0fd9
commit
9541e216f6
2 changed files with 2 additions and 1 deletions
|
@ -127,7 +127,7 @@ async fn generate_webauthn_challenge(data: Json<PasswordOrOtpData>, headers: Hea
|
|||
|
||||
// TODO handle errors
|
||||
let (mut challenge, state) = webauthn.start_passkey_registration(
|
||||
Uuid::from_str(&*user.uuid).unwrap(),
|
||||
Uuid::from_str(&user.uuid).unwrap(),
|
||||
&user.email,
|
||||
&user.name,
|
||||
Some(registrations),
|
||||
|
|
|
@ -111,6 +111,7 @@ mod webauthn_0_3 {
|
|||
|
||||
// Copied from https://docs.rs/webauthn-rs/0.3.2/src/webauthn_rs/proto.rs.html#260-278
|
||||
#[allow(non_camel_case_types)]
|
||||
#[allow(clippy::upper_case_acronyms)]
|
||||
#[derive(Deserialize)]
|
||||
pub enum COSEKeyType {
|
||||
EC_OKP,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue