mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-19 15:48:04 +01:00
Revert "Minimum password length + Static Pages fixes (#11474)"
This reverts commit e1d30eec98.
This commit is contained in:
@@ -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'),
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user