From f37cb4f3c22b0e667e62ccd7089d7658e61fbf63 Mon Sep 17 00:00:00 2001 From: Conrad Ludgate Date: Fri, 17 Nov 2023 09:30:10 +0100 Subject: [PATCH] fix username --- proxy/src/console/provider/neon.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/proxy/src/console/provider/neon.rs b/proxy/src/console/provider/neon.rs index f7a5040362..5c2a7b17b6 100644 --- a/proxy/src/console/provider/neon.rs +++ b/proxy/src/console/provider/neon.rs @@ -187,9 +187,12 @@ impl Api { let start = Instant::now(); let response = self.endpoint.execute(request).await?; info!(duration = ?start.elapsed(), "received http response"); - let body = parse_body::(response).await?; + let mut body = parse_body::(response).await?; - debug!(user = %body.username, pw=%body.password, "please don't merge this in production"); + // hack + body.username = body.username.to_lowercase(); + + // info!(user = %body.username, pw=%body.password, "please don't merge this in production"); Ok(body) }