Updated the database view to hide the password in the connection string

This commit is contained in:
Marius
2024-06-07 12:45:33 +02:00
parent 7eb1716d71
commit b312b1d7e0
5 changed files with 5 additions and 5 deletions

View File

@@ -50,7 +50,7 @@ export const ShowInternalPostgresCredentials = ({ postgresId }: Props) => {
<Label>Internal Connection URL </Label>
<Input
disabled
value={`postgresql://${data?.databaseUser}:${data?.databasePassword}@${data?.appName}:5432/${data?.databaseName}`}
value={`postgresql://${data?.databaseUser}:${'*'.repeat(data?.databasePassword.length)}@${data?.appName}:5432/${data?.databaseName}`}
/>
</div>
</div>