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

@@ -48,7 +48,7 @@ export const ShowInternalMongoCredentials = ({ mongoId }: Props) => {
<Label>Internal Connection URL </Label>
<Input
disabled
value={`mongodb://${data?.databaseUser}:${data?.databasePassword}@${data?.appName}:27017`}
value={`mongodb://${data?.databaseUser}:${'*'.repeat(data?.databasePassword.length)}@${data?.appName}:27017`}
/>
</div>
</div>