mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2025-06-10 21:13:53 +00:00
Remove some unused imports, unneeded mut variables
This commit is contained in:
parent
29aedd388e
commit
efd8d9f528
7 changed files with 40 additions and 58 deletions
|
@ -292,7 +292,7 @@ fn _json_err_twofactor(providers: &[i32], user_uuid: &str, conn: &DbConn) -> Api
|
|||
let email_data = EmailTokenData::from_json(&twofactor.data)?;
|
||||
|
||||
result["TwoFactorProviders2"][provider.to_string()] = json!({
|
||||
"Email": email::obscure_email(&email_data.Email),
|
||||
"Email": email::obscure_email(&email_data.email),
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue