diff --git a/exec/chksetup.js b/exec/chksetup.js index cf0359e48e2262755190db1064d60d5941d2f99c..f01567027bf80847ef8720b24a1d47dc16ff7b58 100644 --- a/exec/chksetup.js +++ b/exec/chksetup.js @@ -154,6 +154,10 @@ var tests = { , usr.number , password.length , system.max_password_length)); + else if(!system.check_password(password)) + output.push(format("User #%-4u has a low quality password%s" + , usr.number + , options.verbose ? (': ' + password) : '')); if(!system.trashcan("password", password)) continue; output.push(format("User #%-4u has a disallowed password%s"