Merge pull request #2629 from mposolda/1.9.x
KEYCLOAK-2823 Password policy 'hashAlgorithm' value not correctly sho…
This commit is contained in:
commit
6ab94ce4e8
1 file changed
+1
-1
@@ -1281,7 +1281,7 @@ module.factory('PasswordPolicy', function() {
|
|||||||
for (var i = 0; i < policyArray.length; i ++){
|
for (var i = 0; i < policyArray.length; i ++){
|
||||||
var policyToken = policyArray[i];
|
var policyToken = policyArray[i];
|
||||||
|
|
||||||
if(policyToken.indexOf('regexPattern') === 0) {
|
if(policyToken.indexOf('hashAlgorithm') === 0 || policyToken.indexOf('regexPattern') === 0) {
|
||||||
re = /(\w+)\((.*)\)/;
|
re = /(\w+)\((.*)\)/;
|
||||||
policyEntry = re.exec(policyToken);
|
policyEntry = re.exec(policyToken);
|
||||||
if (null !== policyEntry) {
|
if (null !== policyEntry) {
|
||||||
|
|||||||
Reference in new issue
Block a user