diff options
Diffstat (limited to 'web-ui')
-rw-r--r-- | web-ui/src/account_recovery/new_password_form/new_password_form.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web-ui/src/account_recovery/new_password_form/new_password_form.js b/web-ui/src/account_recovery/new_password_form/new_password_form.js index 346c1eb8..5e1e72c9 100644 --- a/web-ui/src/account_recovery/new_password_form/new_password_form.js +++ b/web-ui/src/account_recovery/new_password_form/new_password_form.js @@ -61,7 +61,7 @@ export class NewPasswordForm extends React.Component { validatePassword = (password, confirmPassword) => { const emptyPassword = validator.isEmpty(password); - const validPassword = validator.isLength(password, { min: 8, max: undefined }); + const validPassword = validator.isLength(password, { min: 8, max: 9999 }); const emptyConfirmPassword = validator.isEmpty(confirmPassword); const validConfirmPassword = confirmPassword === password; |