From 9259b2fb359cc91f7b4fff1be9cad9d15487bde8 Mon Sep 17 00:00:00 2001 From: quentinchampenois <26109239+Quentinchampenois@users.noreply.github.com> Date: Tue, 9 Apr 2024 15:54:16 +0200 Subject: [PATCH] fix: Update Half Signup initializer --- config/initializers/half_signup.rb | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/config/initializers/half_signup.rb b/config/initializers/half_signup.rb index 602439a..c97e675 100644 --- a/config/initializers/half_signup.rb +++ b/config/initializers/half_signup.rb @@ -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