mirror of
https://github.com/keycloak/keycloak.git
synced 2026-01-09 15:02:05 -03:30
Fix label wrapper class in config-totp template
The labels in `login-config-totp.ftl` were wrapped with the `kcInputWrapperClass` instead of the intended `kcLabelWrapperClass`. This caused incorrect styling in custom themes inheriting the base theme. Update the markup to use `kcLabelWrapperClass`, matching the rest of the theme and ensuring consistent label styling. Closes #45053 Signed-off-by: Geremia Taglialatela <tagliala.dev@gmail.com>
This commit is contained in:
parent
bcc8f684f2
commit
c6b13cb2ec
@ -52,7 +52,7 @@
|
||||
|
||||
<form action="${url.loginAction}" class="${properties.kcFormClass!}" id="kc-totp-settings-form" method="post">
|
||||
<div class="${properties.kcFormGroupClass!}">
|
||||
<div class="${properties.kcInputWrapperClass!}">
|
||||
<div class="${properties.kcLabelWrapperClass!}">
|
||||
<label for="totp" class="control-label">${msg("authenticatorCode")}</label> <span class="required">*</span>
|
||||
</div>
|
||||
<div class="${properties.kcInputWrapperClass!}">
|
||||
@ -74,7 +74,7 @@
|
||||
</div>
|
||||
|
||||
<div class="${properties.kcFormGroupClass!}">
|
||||
<div class="${properties.kcInputWrapperClass!}">
|
||||
<div class="${properties.kcLabelWrapperClass!}">
|
||||
<label for="userLabel" class="control-label">${msg("loginTotpDeviceName")}</label> <#if totp.otpCredentials?size gte 1><span class="required">*</span></#if>
|
||||
</div>
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user