From 14f85ec980a58957ffb1f46d42f8e39e42fb18da Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 29 May 2021 18:01:48 +0200 Subject: [PATCH] tenants: migrate context_processor to tenants Signed-off-by: Jens Langhammer --- authentik/api/templates/api/browser.html | 2 +- authentik/core/templates/login/base_full.html | 5 +---- authentik/lib/config.py | 8 -------- authentik/policies/templates/policies/denied.html | 2 +- .../oauth2/templates/providers/oauth2/end_session.html | 2 +- authentik/root/settings.py | 2 +- authentik/tenants/utils.py | 8 ++++++++ 7 files changed, 13 insertions(+), 16 deletions(-) diff --git a/authentik/api/templates/api/browser.html b/authentik/api/templates/api/browser.html index 2ea149f72..0f29ea4be 100644 --- a/authentik/api/templates/api/browser.html +++ b/authentik/api/templates/api/browser.html @@ -3,7 +3,7 @@ {% load static %} {% block title %} -API Browser - {{ config.authentik.branding.title }} +API Browser - {{ tenant.branding_title }} {% endblock %} {% block head %} diff --git a/authentik/core/templates/login/base_full.html b/authentik/core/templates/login/base_full.html index 347036a92..72405f7f7 100644 --- a/authentik/core/templates/login/base_full.html +++ b/authentik/core/templates/login/base_full.html @@ -26,10 +26,7 @@