Max max length consistent
ci/woodpecker/push/woodpecker Pipeline was successful Details

fix/password-length
Rin 2022-12-01 16:04:18 +11:00
parent 41f55e5d8f
commit 0fc1c68dc4
Signed by: Rin
GPG Key ID: 0C8733C13A7E1293
1 changed files with 1 additions and 1 deletions

View File

@ -10,7 +10,7 @@
.fields-group
= f.input :password, wrapper: :with_label, autofocus: true, label: t('simple_form.labels.defaults.new_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.new_password'), :autocomplete => 'new-password', :minlength => User.password_length.first, :maxlength => User.password_length.last }, required: true
.fields-group
= f.input :password_confirmation, wrapper: :with_label, label: t('simple_form.labels.defaults.confirm_new_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.confirm_new_password'), :autocomplete => 'new-password' }, required: true
= f.input :password_confirmation, wrapper: :with_label, label: t('simple_form.labels.defaults.confirm_new_password'), input_html: { 'aria-label' => t('simple_form.labels.defaults.confirm_new_password'), :autocomplete => 'new-password', :minlength => User.password_length.first, :maxlength => User.password_length.last }, required: true
.actions
= f.button :button, t('auth.set_new_password'), type: :submit