From be64a10fac430f24a48f03436b17cf34bcb0f5fe Mon Sep 17 00:00:00 2001 From: Hasini Samarathunga Date: Tue, 10 Sep 2024 16:44:14 +0530 Subject: [PATCH] Converted OR label to lowercase --- .../src/main/webapp/includes/username-label-resolver.jsp | 2 +- .../src/main/webapp/includes/username-label-resolver.jsp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/identity-apps-core/apps/authentication-portal/src/main/webapp/includes/username-label-resolver.jsp b/identity-apps-core/apps/authentication-portal/src/main/webapp/includes/username-label-resolver.jsp index af035b2391b..bbcf23d3299 100644 --- a/identity-apps-core/apps/authentication-portal/src/main/webapp/includes/username-label-resolver.jsp +++ b/identity-apps-core/apps/authentication-portal/src/main/webapp/includes/username-label-resolver.jsp @@ -61,7 +61,7 @@ } if (attributeList.size() > 0) { - String orString = AuthenticationEndpointUtil.i18n(resourceBundle, "or"); + String orString = AuthenticationEndpointUtil.i18n(resourceBundle, "or").toLowerCase(); usernameLabel = String.join(", ", attributeList.subList(0, attributeList.size() - 1)) + (attributeList.size() > 1 ? " " + orString + " " : "") + attributeList.get(attributeList.size() - 1); diff --git a/identity-apps-core/apps/recovery-portal/src/main/webapp/includes/username-label-resolver.jsp b/identity-apps-core/apps/recovery-portal/src/main/webapp/includes/username-label-resolver.jsp index 617076a6dc3..0374b8cd719 100644 --- a/identity-apps-core/apps/recovery-portal/src/main/webapp/includes/username-label-resolver.jsp +++ b/identity-apps-core/apps/recovery-portal/src/main/webapp/includes/username-label-resolver.jsp @@ -59,7 +59,7 @@ } } if (attributeList.size() > 0) { - String orString = AuthenticationEndpointUtil.i18n(resourceBundle, "or"); + String orString = AuthenticationEndpointUtil.i18n(resourceBundle, "or").toLowerCase(); usernameLabel = String.join(", ", attributeList.subList(0, attributeList.size() - 1)) + (attributeList.size() > 1 ? " " + orString + " " : "") + attributeList.get(attributeList.size() - 1);