Merge pull request #6143 from overleaf/jk-register-password-validation

[web] Password length validation on register

GitOrigin-RevId: 8d97d92f3176f25c5af29479ba85789eac28540a
This commit is contained in:
June Kelly 2022-01-12 09:53:08 +00:00 committed by Copybot
parent 56d826f255
commit 000f849381
2 changed files with 2 additions and 4 deletions

View file

@ -47,8 +47,7 @@ block content
autocomplete="new-password",
autofocus,
required,
minlength=settings.passwordStrengthOptions.length.min,
maxlength=settings.passwordStrengthOptions.length.max
minlength=settings.passwordStrengthOptions.length.min
)
input(
type="hidden",

View file

@ -52,8 +52,7 @@ block content
autocomplete="new-password",
autofocus,
required,
minlength=settings.passwordStrengthOptions.length.min,
maxlength=settings.passwordStrengthOptions.length.max
minlength=settings.passwordStrengthOptions.length.min
)
.actions
button.btn.btn-primary(