From aa9f4d1c59229289750348cfed82e83eae5ae267 Mon Sep 17 00:00:00 2001 From: Ashley Smith Date: Fri, 20 Dec 2024 12:16:18 -0700 Subject: [PATCH] blacklist added --- .../login/login-update-password.ftl | 45 ++++++++++++------- .../login/messages/messages_en.properties | 2 +- .../uid2-theme/login/resources/css/login.css | 15 +++++++ 3 files changed, 44 insertions(+), 18 deletions(-) diff --git a/keycloak/themes/uid2-theme/login/login-update-password.ftl b/keycloak/themes/uid2-theme/login/login-update-password.ftl index 79f655f3..86c4bd27 100644 --- a/keycloak/themes/uid2-theme/login/login-update-password.ftl +++ b/keycloak/themes/uid2-theme/login/login-update-password.ftl @@ -3,8 +3,11 @@ <@layout.registrationLayout displayMessage=!messagesPerField.existsError('password','password-confirm'); section> <#if section = "header"> ${msg("updatePasswordTitle")} + <#elseif section = "form"> -
+ @@ -67,28 +70,36 @@
diff --git a/keycloak/themes/uid2-theme/login/messages/messages_en.properties b/keycloak/themes/uid2-theme/login/messages/messages_en.properties index 642377aa..414a0458 100644 --- a/keycloak/themes/uid2-theme/login/messages/messages_en.properties +++ b/keycloak/themes/uid2-theme/login/messages/messages_en.properties @@ -8,7 +8,7 @@ errorPatternNoMatch=We’re sorry, but we only accept sign-ups from company emai forgotPasswordInfo=Enter your email address and we’ll send a link to reset your password. doSendLink=Request Password Reset emailForgotTitle=Forgot Password -updatePasswordTitle=Set or Update Password Required +updatePasswordTitle=Set New Password Required doUpdatePassword=Save Password passwordConfirm=Confirm Password verifyEmailMessage=To activate your account, verify your email address. diff --git a/keycloak/themes/uid2-theme/login/resources/css/login.css b/keycloak/themes/uid2-theme/login/resources/css/login.css index 5f6c4329..b20fa741 100644 --- a/keycloak/themes/uid2-theme/login/resources/css/login.css +++ b/keycloak/themes/uid2-theme/login/resources/css/login.css @@ -349,4 +349,19 @@ div.kc-logo-text { margin-top: 20px; } +.kcErrorMessage { + margin-top: 15px; + padding: 10px; + background-color: #f8d7da; + color: #721c24; + border: 1px solid #f5c6cb; + border-radius: 5px; + display: none; /* Hidden by default */ +} + +.kcErrorMessage p { + margin: 0; + font-size: 14px; +} + /* End Recovery codes */