Skip to content

Commit

Permalink
feat: update decidim-user_extention
Browse files Browse the repository at this point in the history
  • Loading branch information
ayuki-joto committed Nov 17, 2022
1 parent 64aab2e commit 2018884
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ gem "newrelic_rpm"
gem "omniauth-line_login", path: "omniauth-line_login"
gem "omniauth-rails_csrf_protection"

# gem "decidim-user_extension", path: "decidim-user_extension"
gem "decidim-user_extension", path: "decidim-user_extension"

gem "slack-ruby-client"

Expand Down
9 changes: 9 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,14 @@ PATH
decidim-core (= 0.26.4)
redcarpet (~> 3.5, >= 3.5.1)

PATH
remote: decidim-user_extension
specs:
decidim-user_extension (0.2.0)
decidim-admin
decidim-core
rails

PATH
remote: omniauth-line_login
specs:
Expand Down Expand Up @@ -864,6 +872,7 @@ DEPENDENCIES
decidim-decidim_awesome!
decidim-dev (= 0.26.4)
decidim-term_customizer!
decidim-user_extension!
deface
dotenv-rails
factory_bot_rails
Expand Down
1 change: 0 additions & 1 deletion config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,3 @@ class Application < Rails::Application
# the framework and any gems in your application.
end
end
NOBSPW.configuration.min_password_length = 6
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
</div>

<div class="field">
<%= f.password_field :password, help_text: t(".password_help", minimun_characters: NOBSPW.configuration.min_password_length), autocomplete: "off" %>
<%= f.password_field :password, help_text: t(".password_help", minimun_characters: ::PasswordValidator::MINIMUM_LENGTH), autocomplete: "off" %>
</div>

<div class="field">
Expand Down

0 comments on commit 2018884

Please sign in to comment.