From bc18db27a59d43ccb38f965899c0546c9816d2b7 Mon Sep 17 00:00:00 2001 From: Nipun Thennakoon Date: Mon, 13 Nov 2023 07:59:47 +0530 Subject: [PATCH 1/2] =?UTF-8?q?Add=20changeset=20=F0=9F=A6=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .changeset/fair-beans-wave.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 .changeset/fair-beans-wave.md diff --git a/.changeset/fair-beans-wave.md b/.changeset/fair-beans-wave.md new file mode 100644 index 00000000000..f38f2fa90a8 --- /dev/null +++ b/.changeset/fair-beans-wave.md @@ -0,0 +1,8 @@ +--- +"@wso2is/identity-apps-core": patch +"@wso2is/myaccount": patch +"@wso2is/console": patch +"@wso2is/core": patch +--- + +Fix password patterns updated via console not being reflected in My Account and reset password window From 0c624cc654588ca1a98a321580e7b54db32562a7 Mon Sep 17 00:00:00 2001 From: Nipun Thennakoon Date: Mon, 13 Nov 2023 08:23:28 +0530 Subject: [PATCH 2/2] Improve comments. --- .../apps/recovery-portal/src/main/webapp/password-reset.jsp | 4 ++-- modules/core/src/models/config.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/identity-apps-core/apps/recovery-portal/src/main/webapp/password-reset.jsp b/identity-apps-core/apps/recovery-portal/src/main/webapp/password-reset.jsp index e8aebc20b1d..b3111b684e1 100644 --- a/identity-apps-core/apps/recovery-portal/src/main/webapp/password-reset.jsp +++ b/identity-apps-core/apps/recovery-portal/src/main/webapp/password-reset.jsp @@ -68,7 +68,7 @@ JSONObject passwordConfig = null; /* This variable exists for backward compatibility.If isPasswordInputValidationEnabled is true, the password - validation will be done via the new input validation listener.Otherwise,it will be done via the old password + validation will be done via the new input validation listener. Otherwise, it will be done via the old password policy validation handler. */ Boolean isPasswordInputValidationEnabled = Boolean.parseBoolean(getServletContext().getInitParameter("isPasswordInputValidationEnabled")); @@ -536,7 +536,7 @@ } /** - * Function to enable cross-marks on unmet criteria when submitting.When isPasswordInputValidationEnabled + * Function to enable cross-marks on unmet criteria when submitting. When isPasswordInputValidationEnabled * is false, only the basic password validation will be performed. */ function passwordSubmitValidation() { diff --git a/modules/core/src/models/config.ts b/modules/core/src/models/config.ts index 068a592f98b..471b7cfce87 100644 --- a/modules/core/src/models/config.ts +++ b/modules/core/src/models/config.ts @@ -187,7 +187,7 @@ export interface CommonUIConfigInterface> { */ isLeftNavigationCategorized?: boolean; /** - * Flags to check whether the password validation is performed using input validation listener. + * Flag to check whether the password validation is performed using input validation listener. */ isPasswordInputValidationEnabled: boolean; /**