From 28fd38d13d5dbcab11c454fd80231f3047b15fd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Niko=20Ko=CC=88bler?= Date: Thu, 6 Jun 2024 08:13:53 +0200 Subject: [PATCH] prevent freemarker exceptions from unavailable properties MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit closes #30220 Signed-off-by: Niko KoĢˆbler --- .../theme/base/login/login-recovery-authn-code-config.ftl | 6 +++--- .../main/resources/theme/base/login/webauthn-register.ftl | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/themes/src/main/resources/theme/base/login/login-recovery-authn-code-config.ftl b/themes/src/main/resources/theme/base/login/login-recovery-authn-code-config.ftl index 03045c5252..143da9e2b0 100644 --- a/themes/src/main/resources/theme/base/login/login-recovery-authn-code-config.ftl +++ b/themes/src/main/resources/theme/base/login/login-recovery-authn-code-config.ftl @@ -6,7 +6,7 @@ ${msg("recovery-code-config-header")} <#elseif section = "form"> -
+
@@ -26,7 +26,7 @@ -
+
@@ -40,7 +40,7 @@
- diff --git a/themes/src/main/resources/theme/base/login/webauthn-register.ftl b/themes/src/main/resources/theme/base/login/webauthn-register.ftl index 48c958911a..af4c950394 100644 --- a/themes/src/main/resources/theme/base/login/webauthn-register.ftl +++ b/themes/src/main/resources/theme/base/login/webauthn-register.ftl @@ -5,7 +5,7 @@ <#if section = "title"> title <#elseif section = "header"> - + ${kcSanitize(msg("webauthn-registration-title"))?no_esc} <#elseif section = "form">