From 841c13ed77e6835339fc168286edd984149d9a6f Mon Sep 17 00:00:00 2001 From: Jens Langhammer Date: Fri, 28 Oct 2022 19:43:21 +0200 Subject: [PATCH] core: set prehydrated locale based on active backend locale Signed-off-by: Jens Langhammer --- authentik/core/templates/base/header_js.html | 5 ++++- authentik/core/templates/if/admin.html | 4 ++-- authentik/core/templates/if/flow.html | 4 ++-- authentik/core/templates/if/user.html | 4 ++-- 4 files changed, 10 insertions(+), 7 deletions(-) diff --git a/authentik/core/templates/base/header_js.html b/authentik/core/templates/base/header_js.html index ce92fc8b8..55c0bc669 100644 --- a/authentik/core/templates/base/header_js.html +++ b/authentik/core/templates/base/header_js.html @@ -1,6 +1,9 @@ +{% load i18n %} +{% get_current_language as LANGUAGE_CODE %} +