mirror of
https://github.com/dani-garcia/vaultwarden.wiki.git
synced 2026-11-05 00:08:36 +02:00
Escape request values in log messages (#7921)
This commit is contained in:
1 parent
5d870b796f
commit
6ed6921cc2
9 files changed
+41
-24
No files matched your search
+1
-1
@@ -112,7 +112,7 @@ async fn login(data: Form<ConnectData>, client_header: ClientHeaders, conn: DbCo
|
||||
.await?;
|
||||
Ok(Json(tokens.to_json()))
|
||||
}
|
||||
t => err!("Invalid type", t),
|
||||
t => err!("Invalid type", t.escape_debug().to_string()),
|
||||
};
|
||||
|
||||
if let Some(user_id) = user_id {
|
||||
|
||||
Reference in new issue
Block a user