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