diff --git a/ui/src/components/identities/IdentityAuthCredentials.tsx b/ui/src/components/identities/IdentityAuthCredentials.tsx index 610a5963..1049cfaa 100644 --- a/ui/src/components/identities/IdentityAuthCredentials.tsx +++ b/ui/src/components/identities/IdentityAuthCredentials.tsx @@ -249,6 +249,11 @@ export function IdentityAuthCredentials({ {credentialToRevoke && ( + All BJJSignature2021 proofs signed with this key will be invalid + + } onClose={() => setCredentialToRevoke(undefined)} onRevoke={() => void fetchAuthCredentials()} /> diff --git a/ui/src/components/shared/CredentialRevokeModal.tsx b/ui/src/components/shared/CredentialRevokeModal.tsx index 648fe579..1da5d180 100644 --- a/ui/src/components/shared/CredentialRevokeModal.tsx +++ b/ui/src/components/shared/CredentialRevokeModal.tsx @@ -12,10 +12,12 @@ import { CLOSE, REVOKE } from "src/utils/constants"; export function CredentialRevokeModal({ credential, + extra, onClose, onRevoke, }: { credential: Credential; + extra?: React.ReactNode; onClose: () => void; onRevoke: () => void; }) { @@ -66,6 +68,7 @@ export function CredentialRevokeModal({ title="Are you sure you want to revoke this credential?" > + {extra} Revoking of a credential must be accompanied by publishing of issuer state in order for the action to be effective. This action cannot be undone.