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, "***") }