Skip to content

Commit

Permalink
fix: Update Half Signup initializer
Browse files Browse the repository at this point in the history
  • Loading branch information
Quentinchampenois committed Apr 9, 2024
1 parent 1f0cb2c commit 9259b2f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions config/initializers/half_signup.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# frozen_string_literal: true

Decidim::HalfSignup.configure do |config|
# change this to false, if you don't want to redirect the user to the tos agreement page
config.show_tos_page_after_signup = Rails.application.secrets.dig(:decidim, :module, :half_signup, :show_tos_page_after_signup)

config.auth_code_length = 4
# change this to other values if you want to change the length of generated code (be advised to remain in an acceptable limits for the sake of best performance)

config.default_countries = [:us]
# change ':us' to the country/countries you want to be shown at the top(the first option will be selected by default).
end

0 comments on commit 9259b2f

Please sign in to comment.