Skip to content

Commit fe1f48d

Browse files
committed
fixing nowsecure#6 by rewording return message to at most
1 parent a8545f2 commit fe1f48d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

owasp-password-strength-test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* globals define */
22
(function (root, factory) {
3-
3+
44
if (typeof define === 'function' && define.amd) {
55
define([], factory);
66
} else if (typeof exports === 'object') {
@@ -49,7 +49,7 @@
4949
// enforce a maximum length
5050
function(password) {
5151
if (password.length > owasp.configs.maxLength) {
52-
return 'The password must be fewer than ' + owasp.configs.maxLength + ' characters.';
52+
return 'The password must be at most ' + owasp.configs.maxLength + ' characters.';
5353
}
5454
},
5555

0 commit comments

Comments
 (0)