From 5ea7825f1e962ec971d2eef348d444c81c2ee73a Mon Sep 17 00:00:00 2001 From: Dave Meyer <7davidmeyer@gmail.com> Date: Tue, 4 Feb 2025 10:09:44 +0100 Subject: [PATCH] Fixed typos in email theme Closes #36988 Signed-off-by: Dave Meyer Signed-off-by: Alexander Schwartz Co-authored-by: Alexander Schwartz --- .../org/keycloak/testsuite/forms/BruteForceTest.java | 2 +- .../theme/base/email/messages/messages_en.properties | 10 +++++----- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/forms/BruteForceTest.java b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/forms/BruteForceTest.java index 716daaef254..55a69a4d8f0 100644 --- a/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/forms/BruteForceTest.java +++ b/testsuite/integration-arquillian/tests/base/src/test/java/org/keycloak/testsuite/forms/BruteForceTest.java @@ -603,7 +603,7 @@ public class BruteForceTest extends AbstractTestRealmKeycloakTest { assertIsContained(events.expect(EventType.USER_DISABLED_BY_PERMANENT_LOCKOUT).client((String) null).detail(Details.REASON, "brute_force_attack detected"), actualEvents); assertIsContained(events.expect(EventType.LOGIN_ERROR).error(Errors.INVALID_USER_CREDENTIALS), actualEvents); - checkEmailPresent("User disabled by permament lockout"); + checkEmailPresent("User disabled by permanent lockout"); // assert expectPermanentlyDisabled(); diff --git a/themes/src/main/resources/theme/base/email/messages/messages_en.properties b/themes/src/main/resources/theme/base/email/messages/messages_en.properties index eafceb2d3f9..a4b1b2ce16c 100755 --- a/themes/src/main/resources/theme/base/email/messages/messages_en.properties +++ b/themes/src/main/resources/theme/base/email/messages/messages_en.properties @@ -40,11 +40,11 @@ eventRemoveCredentialSubject=Remove credential eventRemoveCredentialBody=Credential {0} was removed from your account on {1} from {2}. If this was not you, please contact an administrator. eventRemoveCredentialBodyHtml=

Credential {0} was removed from your account on {1} from {2}. If this was not you, please contact an administrator.

eventUserDisabledByTemporaryLockoutSubject=User disabled by temporary lockout -eventUserDisabledByTemporaryLockoutBody=Your user has been disabled temporarily because of multiple failed attemps on {0}. Please contact an administrator if needed. -eventUserDisabledByTemporaryLockoutHtml=

Your user has been disabled temporarily because of multiple failed attemps on {0}. Please contact an administrator if needed.

-eventUserDisabledByPermanentLockoutSubject=User disabled by permament lockout -eventUserDisabledByPermanentLockoutBody=Your user has been disabled permanently because of multiple failed attemps on {0}. Please contact an administrator. -eventUserDisabledByPermanentLockoutHtml=

Your user has been disabled permanently because of multiple failed attemps on {0}. Please contact an administrator.

+eventUserDisabledByTemporaryLockoutBody=Your user has been disabled temporarily because of multiple failed attempts on {0}. Please contact an administrator if needed. +eventUserDisabledByTemporaryLockoutHtml=

Your user has been disabled temporarily because of multiple failed attempts on {0}. Please contact an administrator if needed.

+eventUserDisabledByPermanentLockoutSubject=User disabled by permanent lockout +eventUserDisabledByPermanentLockoutBody=Your user has been disabled permanently because of multiple failed attempts on {0}. Please contact an administrator. +eventUserDisabledByPermanentLockoutHtml=

Your user has been disabled permanently because of multiple failed attempts on {0}. Please contact an administrator.

requiredAction.CONFIGURE_TOTP=Configure OTP requiredAction.TERMS_AND_CONDITIONS=Terms and Conditions