From 7bdd32506ec99299505b365c8b27a53a20662563 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Tue, 1 Mar 2022 15:27:21 +0000 Subject: [PATCH] web: cleanup default footer links --- authentik/lib/default.yml | 6 +----- web/src/flows/FlowExecutor.ts | 16 ++++++---------- 2 files changed, 7 insertions(+), 15 deletions(-) diff --git a/authentik/lib/default.yml b/authentik/lib/default.yml index fb36ceb0e4..3402b100f9 100644 --- a/authentik/lib/default.yml +++ b/authentik/lib/default.yml @@ -63,11 +63,7 @@ disable_startup_analytics: false avatars: env://AUTHENTIK_AUTHENTIK__AVATARS?gravatar geoip: "./GeoLite2-City.mmdb" -footer_links: - - name: Documentation - href: https://goauthentik.io/docs/?utm_source=authentik - - name: authentik Website - href: https://goauthentik.io/?utm_source=authentik +footer_links: [] default_user_change_name: true default_user_change_email: true diff --git a/web/src/flows/FlowExecutor.ts b/web/src/flows/FlowExecutor.ts index 020a9a1a49..713c62006d 100644 --- a/web/src/flows/FlowExecutor.ts +++ b/web/src/flows/FlowExecutor.ts @@ -418,16 +418,12 @@ export class FlowExecutor extends LitElement implements StageHost { `; }), )} - ${this.tenant?.brandingTitle != "authentik" - ? html` -
  • - ${t`Powered by authentik`} -
  • - ` - : html``} +
  • + ${t`Powered by authentik`} +
  • ${this.challenge?.flowInfo?.background?.startsWith( "/static", )