Merge commit '3da44a8d30e76f48b84f5b888e0b33427037037c' into 2fa_enforcement

This commit is contained in:
Olivier Martin
2021-04-27 21:44:32 -04:00
56 changed files with 231 additions and 233 deletions

View File

@@ -207,7 +207,7 @@ fn duo_api_request(method: &str, path: &str, params: &str, data: &DuoData) -> Em
client
.request(m, &url)
.basic_auth(username, Some(password))
.header(header::USER_AGENT, "bitwarden_rs:Duo/1.0 (Rust)")
.header(header::USER_AGENT, "vaultwarden:Duo/1.0 (Rust)")
.header(header::DATE, date)
.send()?
.error_for_status()?;