Revert "Minimum password length + Static Pages fixes (#11474)"

This reverts commit e1d30eec98.
This commit is contained in:
Sabe Jones
2019-10-31 13:16:09 -05:00
parent e1d30eec98
commit d1afbf4b92
13 changed files with 80 additions and 242 deletions

View File

@@ -93,13 +93,8 @@ async function registerLocal (req, res, { isV3 = false }) {
},
password: {
notEmpty: true,
errorMessage: res.t('missingPassword'),
equals: { options: [req.body.confirmPassword], errorMessage: res.t('passwordConfirmationMatch') },
isLength: {
options: { min: common.constants.MINIMUM_PASSWORD_LENGTH },
errorMessage: res.t('minPasswordLength'),
},
},
});