diff --git a/web/src/admin/crypto/CertificateKeyPairListPage.ts b/web/src/admin/crypto/CertificateKeyPairListPage.ts index 86dbf0237..ad0f066a1 100644 --- a/web/src/admin/crypto/CertificateKeyPairListPage.ts +++ b/web/src/admin/crypto/CertificateKeyPairListPage.ts @@ -101,7 +101,9 @@ export class CertificateKeyPairListPage extends TablePage { html` ${item.privateKeyAvailable ? t`Yes (${item.privateKeyType?.toUpperCase()})` : t`No`} `, - html` new Date() ? PFColor.Green : PFColor.Orange}> + html` new Date() ? PFColor.Green : PFColor.Orange} + > ${item.certExpiry?.toLocaleString()} `, html` diff --git a/web/src/admin/tokens/TokenListPage.ts b/web/src/admin/tokens/TokenListPage.ts index f5252d27d..2476dc2f1 100644 --- a/web/src/admin/tokens/TokenListPage.ts +++ b/web/src/admin/tokens/TokenListPage.ts @@ -106,7 +106,9 @@ export class TokenListPage extends TablePage { row(item: Token): TemplateResult[] { return [ html`
${item.identifier}
- ${item.managed ? html`${t`Token is managed by authentik.`}` : html``}`, + ${item.managed + ? html`${t`Token is managed by authentik.`}` + : html``}`, html`${item.userObj?.username}`, html` ${item.expiring ? t`Yes` : t`No`}