mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-07-25 01:53:32 +00:00
Trusted proxy support, unauthenticated rate limit & other fixes (#7472)
* Trusted proxies, unauthenticated rate limits and various fixes * Fix get_groups_data * Fix get_groups_data when not using full_access * Fmt * Fix org import * deduplicate send validation
This commit is contained in:
+3
-1
@@ -95,7 +95,9 @@ impl<'c> AsyncHttpClient<'c> for OidcHttpClient {
|
||||
}
|
||||
|
||||
let body = response.bytes().await.map_err(Box::new)?;
|
||||
debug!("Response body {}", String::from_utf8_lossy(&body));
|
||||
if CONFIG.sso_debug_tokens() {
|
||||
debug!("Response body {}", String::from_utf8_lossy(&body));
|
||||
}
|
||||
builder.body(body.to_vec()).map_err(HttpClientError::Http)
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user