Skip to content

Commit f11cf30

Browse files
committed
victorjonsson#368 Missing dialog strings in error message of the complexity validator
1 parent 1d58cea commit f11cf30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/modules/security.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -469,14 +469,14 @@
469469
'numeral': {
470470
pattern: '^(?=(?:.*\\d){'+numRequiredNumericChars+',}).+',
471471
numRequired: numRequiredNumericChars,
472-
dialogEnd: $.formUtils.LANG.passwordComplexityNumericCharsInfo
472+
dialogEnd: language.passwordComplexityNumericCharsInfo
473473
},
474474
'length': {
475475
callback: function(val) {
476476
return val.length > numRequiredCharsTotal;
477477
},
478478
numRequired: numRequiredCharsTotal,
479-
dialogEnd: 'Lorem te ipsum'
479+
dialogEnd: language.lengthBadEnd
480480
}
481481
},
482482
errorMessage = '';

0 commit comments

Comments
 (0)