Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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