Skip to content

Commit

Permalink
fixing nowsecure#6 by rewording return message to at most
Browse files Browse the repository at this point in the history
  • Loading branch information
jloveland committed Aug 31, 2015
1 parent a8545f2 commit fe1f48d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions owasp-password-strength-test.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* globals define */
(function (root, factory) {

if (typeof define === 'function' && define.amd) {
define([], factory);
} else if (typeof exports === 'object') {
Expand Down Expand Up @@ -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.';
}
},

Expand Down

0 comments on commit fe1f48d

Please sign in to comment.