diff --git a/app/src/main/kotlin/com/fibelatti/pinboard/core/android/composable/ErrorReportDialog.kt b/app/src/main/kotlin/com/fibelatti/pinboard/core/android/composable/ErrorReportDialog.kt index 12e5998f..c1a8795d 100644 --- a/app/src/main/kotlin/com/fibelatti/pinboard/core/android/composable/ErrorReportDialog.kt +++ b/app/src/main/kotlin/com/fibelatti/pinboard/core/android/composable/ErrorReportDialog.kt @@ -88,7 +88,7 @@ fun ErrorReportDialog( appendLine("---") appendLine("This error just happened to me:") appendLine() - append(sw.toString()) + append(sw.toString().replace(regex = "&auth_token=.*[^&]".toRegex(), replacement = "")) } val emailIntent = Intent(Intent.ACTION_SENDTO, Uri.parse("mailto:")).apply {