From b002c35a0b0e01cacef0a91767213380695942f3 Mon Sep 17 00:00:00 2001 From: Andrii Kostenko Date: Thu, 26 Mar 2026 21:31:24 +0000 Subject: [PATCH] Prevent hosted database credentials from being sent to PostHog Add ph-no-capture class to credential containers in the hosted database success dialog and password reset dialog so PostHog autocapture excludes sensitive data (host, port, username, password) from captured events. Co-Authored-By: Claude Opus 4.6 (1M context) --- .../hosted-database-success-dialog.component.html | 2 +- .../hosted-database-reset-password-dialog.component.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/components/connections-list/hosted-database-success-dialog/hosted-database-success-dialog.component.html b/frontend/src/app/components/connections-list/hosted-database-success-dialog/hosted-database-success-dialog.component.html index ee458317c..2aa57e0da 100644 --- a/frontend/src/app/components/connections-list/hosted-database-success-dialog/hosted-database-success-dialog.component.html +++ b/frontend/src/app/components/connections-list/hosted-database-success-dialog/hosted-database-success-dialog.component.html @@ -21,7 +21,7 @@

} -
+
Database {{ data.hostedDatabase.databaseName }} diff --git a/frontend/src/app/components/hosted-databases/hosted-database-reset-password-dialog/hosted-database-reset-password-dialog.component.html b/frontend/src/app/components/hosted-databases/hosted-database-reset-password-dialog/hosted-database-reset-password-dialog.component.html index f26c04ebe..0088d17dd 100644 --- a/frontend/src/app/components/hosted-databases/hosted-database-reset-password-dialog/hosted-database-reset-password-dialog.component.html +++ b/frontend/src/app/components/hosted-databases/hosted-database-reset-password-dialog/hosted-database-reset-password-dialog.component.html @@ -17,7 +17,7 @@

Reset password for {{ data.databaseName }} } @else {

New password for {{ result()!.databaseName }}

-
+
Host {{ result()!.hostname }}