Fix up UI around resource auth headers

This commit is contained in:
Owen
2025-10-13 15:07:23 -07:00
parent e5ee96cf52
commit 6664efaa13
4 changed files with 12 additions and 5 deletions

View File

@@ -837,7 +837,7 @@ export default function ResourceAuthenticationPage() {
<Bot size="14" />
<span>
{authInfo.headerAuth
? t("resourceHeaderAuthProtection")
? t("resourceHeaderAuthProtectionEnabled")
: t(
"resourceHeaderAuthProtectionDisabled"
)}

View File

@@ -86,7 +86,8 @@ export default async function ResourcesPage(props: ResourcesPageProps) {
: resource.sso ||
resource.pincodeId !== null ||
resource.passwordId !== null ||
resource.whitelist
resource.whitelist ||
resource.headerAuthId
? "protected"
: "not_protected",
enabled: resource.enabled,