Skip to content

Commit

Permalink
Merge pull request #4564 from nipunsampath/fix-password-rules-consist…
Browse files Browse the repository at this point in the history
…ency
  • Loading branch information
nipunsampath authored Nov 13, 2023
2 parents df0ec73 + 0c624cc commit dd698c1
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
8 changes: 8 additions & 0 deletions .changeset/fair-beans-wave.md
Original file line number Diff line number Diff line change
@@ -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
Original file line number Diff line number Diff line change
Expand Up @@ -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"));
Expand Down Expand Up @@ -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() {
Expand Down
2 changes: 1 addition & 1 deletion modules/core/src/models/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ export interface CommonUIConfigInterface<T = Record<string, unknown>> {
*/
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;
/**
Expand Down

0 comments on commit dd698c1

Please sign in to comment.