Skip to content

Commit

Permalink
Fix failing tests
Browse files Browse the repository at this point in the history
  • Loading branch information
sinaeftekhar committed Oct 24, 2023
1 parent c6f583d commit 8b63dce
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/helpers/decidim/passwords_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def password_field_options_for(user)
required: true,
label: false,
help_text: help_text,
value: @account&.password,
value: @account&.password, # rubocop:disable Rails/HelperInstanceVariable
minlength: min_length,
maxlength: ::PasswordValidator::MAX_LENGTH,
placeholder: "••••••"
Expand All @@ -40,7 +40,6 @@ def old_password_options
help_text = t("devise.passwords.edit.old_password_help")

{
autocomplete: "current-password",
required: true,
label: false,
help_text: help_text,
Expand Down

0 comments on commit 8b63dce

Please sign in to comment.