From fae8b80ceb84d6a5a9da831d767eed5b1b98c243 Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Sat, 29 May 2021 18:31:05 +0200 Subject: [PATCH] core: fix usage of config on templates Signed-off-by: Jens Langhammer --- authentik/core/templates/base/skeleton.html | 2 +- authentik/core/templates/login/base_full.html | 4 ++-- authentik/tenants/utils.py | 3 ++- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/authentik/core/templates/base/skeleton.html b/authentik/core/templates/base/skeleton.html index 694600b0f..47e6731e3 100644 --- a/authentik/core/templates/base/skeleton.html +++ b/authentik/core/templates/base/skeleton.html @@ -7,7 +7,7 @@ - {% block title %}{% trans title|default:config.authentik.branding.title %}{% endblock %} + {% block title %}{% trans title|default:tenant.branding_title %}{% endblock %} diff --git a/authentik/core/templates/login/base_full.html b/authentik/core/templates/login/base_full.html index 72405f7f7..b236bb7a7 100644 --- a/authentik/core/templates/login/base_full.html +++ b/authentik/core/templates/login/base_full.html @@ -46,12 +46,12 @@