mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 14:27:30 +00:00
feat: show secret if no password was set
This commit is contained in:
@@ -59,7 +59,7 @@ export const ViewSecretPublicPage = () => {
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
{secret && (
|
{secret && (
|
||||||
!passMatches ? (
|
!passMatches && secret.password ? (
|
||||||
<PasswordContainer secret={secret} handlePassMatch={handlePassMatch} />
|
<PasswordContainer secret={secret} handlePassMatch={handlePassMatch} />
|
||||||
) : (
|
) : (
|
||||||
key && <SecretContainer secret={secret} secretKey={key} />
|
key && <SecretContainer secret={secret} secretKey={key} />
|
||||||
|
|||||||
Reference in New Issue
Block a user