do not show strings with password in notification text
This commit is contained in:
parent
5cd2697be3
commit
2d4071ca25
1 changed files with 2 additions and 2 deletions
|
@ -119,14 +119,14 @@ export default ({ database, className }: Props) => {
|
|||
<Can action={'database.view_password'}>
|
||||
<div css={tw`mt-6`}>
|
||||
<Label>Password</Label>
|
||||
<CopyOnClick text={database.password}>
|
||||
<CopyOnClick text={database.password} showInNotification={false}>
|
||||
<Input type={'text'} readOnly value={database.password} />
|
||||
</CopyOnClick>
|
||||
</div>
|
||||
</Can>
|
||||
<div css={tw`mt-6`}>
|
||||
<Label>JDBC Connection String</Label>
|
||||
<CopyOnClick text={jdbcConnectionString}>
|
||||
<CopyOnClick text={jdbcConnectionString} showInNotification={false}>
|
||||
<Input type={'text'} readOnly value={jdbcConnectionString} />
|
||||
</CopyOnClick>
|
||||
</div>
|
||||
|
|
Loading…
Reference in a new issue