Add global hide_powered_by and make it backward

This commit is contained in:
Owen
2026-05-11 16:18:57 -07:00
parent 264c6bf4e8
commit 77d17af15b
6 changed files with 29 additions and 14 deletions

View File

@@ -375,7 +375,8 @@ export default function ResourceAuthPortal(props: ResourceAuthPortalProps) {
{!accessDenied ? (
<div>
{isUnlocked() && build === "enterprise" ? (
!env.branding.resourceAuthPage?.hidePoweredBy && (
!env.branding.resourceAuthPage?.hidePoweredBy &&
!env.branding.hidePoweredBy && (
<div className="text-center mb-2">
<span className="text-sm text-muted-foreground">
{t("poweredBy")}{" "}