From 05a4c551a9271baf39531225cbe91ad31a5ae142 Mon Sep 17 00:00:00 2001 From: Amaury <1293565+amaury1093@users.noreply.github.com> Date: Thu, 12 Dec 2024 00:07:07 +0100 Subject: [PATCH] revert --- core/src/util/sentry.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/src/util/sentry.rs b/core/src/util/sentry.rs index 427a99b1e..2314e5f6d 100644 --- a/core/src/util/sentry.rs +++ b/core/src/util/sentry.rs @@ -92,7 +92,7 @@ fn error(err: SentryError, result: &CheckEmailOutput, backend_name: &str) { /// Function to replace all usernames from email, and replace them with /// `***@domain.com` for privacy reasons. -pub fn redact(input: &str, username: &str) -> String { +fn redact(input: &str, username: &str) -> String { input.replace(username, "***") }