diff --git a/owasp-password-strength-test.js b/owasp-password-strength-test.js index 1179b6d..42e458d 100644 --- a/owasp-password-strength-test.js +++ b/owasp-password-strength-test.js @@ -1,6 +1,6 @@ /* globals define */ (function (root, factory) { - + if (typeof define === 'function' && define.amd) { define([], factory); } else if (typeof exports === 'object') { @@ -49,7 +49,7 @@ // enforce a maximum length function(password) { if (password.length > owasp.configs.maxLength) { - return 'The password must be fewer than ' + owasp.configs.maxLength + ' characters.'; + return 'The password must be at most ' + owasp.configs.maxLength + ' characters.'; } },