From 5a705c2e049db1f79befa2abe307c06a3fbbaca7 Mon Sep 17 00:00:00 2001 From: Geremia Taglialatela Date: Fri, 9 Jan 2026 11:59:40 +0100 Subject: [PATCH] Fix label class in config-totp template The labels in `login-config-totp.ftl` were statically styled with a `form-control` class instead of the intended dynamic `kcLabelClass ` property. This caused incorrect styling in custom themes inheriting the base theme. Update the markup to use `kcLabelClass`, matching the rest of the theme and ensuring consistent label styling. Closes #45069 Signed-off-by: Geremia Taglialatela --- .../src/main/resources/theme/base/login/login-config-totp.ftl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/src/main/resources/theme/base/login/login-config-totp.ftl b/themes/src/main/resources/theme/base/login/login-config-totp.ftl index 413003f7b66..568a685156e 100755 --- a/themes/src/main/resources/theme/base/login/login-config-totp.ftl +++ b/themes/src/main/resources/theme/base/login/login-config-totp.ftl @@ -53,7 +53,7 @@
- * + *
- <#if totp.otpCredentials?size gte 1>* + <#if totp.otpCredentials?size gte 1>*