From bd2a1c7c0061646bf992005d7e06bbd011d1b9af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20Bl=C3=A4ttlinger?= <69153350+andreas-blaettlinger@users.noreply.github.com> Date: Thu, 30 Oct 2025 21:18:51 +0100 Subject: [PATCH] Use password visibility icon from theme.properties Closes #43843 Signed-off-by: Andreas Blaettlinger --- themes/src/main/resources/theme/keycloak.v2/login/field.ftl | 4 ++-- .../main/resources/theme/keycloak.v2/login/theme.properties | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/themes/src/main/resources/theme/keycloak.v2/login/field.ftl b/themes/src/main/resources/theme/keycloak.v2/login/field.ftl index d7e2e46e31e..1349ff5b0af 100644 --- a/themes/src/main/resources/theme/keycloak.v2/login/field.ftl +++ b/themes/src/main/resources/theme/keycloak.v2/login/field.ftl @@ -65,9 +65,9 @@
diff --git a/themes/src/main/resources/theme/keycloak.v2/login/theme.properties b/themes/src/main/resources/theme/keycloak.v2/login/theme.properties index 42d41fa4f07..b297547d076 100644 --- a/themes/src/main/resources/theme/keycloak.v2/login/theme.properties +++ b/themes/src/main/resources/theme/keycloak.v2/login/theme.properties @@ -39,6 +39,8 @@ kcAlertIconClass=pf-v5-c-alert__icon kcAlertTitleClass=pf-v5-c-alert__title kcAlertDescriptionClass=pf-v5-c-alert__description kcFormPasswordVisibilityButtonClass=pf-v5-c-button pf-m-control +kcFormPasswordVisibilityIconShow=fa-eye fas +kcFormPasswordVisibilityIconHide=fa-eye-slash fas kcFormControlToggleIcon=pf-v5-c-form-control__toggle-icon kcFormActionGroupClass=pf-v5-c-form__actions pf-v5-u-pt-xs kcFormReadOnlyClass=pf-m-readonly