KEYCLOAK-2823 Password policy 'hashAlgorithm' value not correctly shown in admin console

This commit is contained in:
mposolda committed 2016-04-14 13:15:23 +02:00
1 parent 77bbf2afb5
commit a5179907ad
1 file changed
+1 -1
@@ -1281,7 +1281,7 @@ module.factory('PasswordPolicy', function() {
for (var i = 0; i < policyArray.length; i ++){
var policyToken = policyArray[i];
if(policyToken.indexOf('regexPattern') === 0) {
if(policyToken.indexOf('hashAlgorithm') === 0 || policyToken.indexOf('regexPattern') === 0) {
re = /(\w+)\((.*)\)/;
policyEntry = re.exec(policyToken);
if (null !== policyEntry) {