diff --git a/Gemfile b/Gemfile index fbe02a049a..9713c310a8 100644 --- a/Gemfile +++ b/Gemfile @@ -32,7 +32,7 @@ gem "decidim-extended_socio_demographic_authorization_handler", git: "https://gi gem "decidim-extra_user_fields", git: "https://github.com/OpenSourcePolitics/decidim-module-extra_user_fields.git", branch: "temp/twilio-compatibility-0.27" gem "decidim-friendly_signup", git: "https://github.com/OpenSourcePolitics/decidim-module-friendly_signup.git" gem "decidim-gallery", git: "https://github.com/OpenSourcePolitics/decidim-module-gallery.git", branch: "fix/nokogiri_deps" -gem "decidim-half_signup", git: "https://github.com/OpenSourcePolitics/decidim-module-half_sign_up.git", branch: "feature/half_signup_and_budgets_booth" +gem "decidim-half_signup", git: "https://github.com/OpenSourcePolitics/decidim-module-half_sign_up.git", branch: "fix/show_sms_verification_code" gem "decidim-homepage_interactive_map", git: "https://github.com/OpenSourcePolitics/decidim-module-homepage_interactive_map.git", branch: DECIDIM_BRANCH gem "decidim-phone_authorization_handler", git: "https://github.com/OpenSourcePolitics/decidim-module_phone_authorization_handler", branch: "release/0.27-stable" gem "decidim-simple_proposal", git: "https://github.com/OpenSourcePolitics/decidim-module-simple_proposal", branch: DECIDIM_BRANCH diff --git a/Gemfile.lock b/Gemfile.lock index 38e36f1af8..5f0826e500 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -51,8 +51,8 @@ GIT GIT remote: https://github.com/OpenSourcePolitics/decidim-module-half_sign_up.git - revision: 5bee2b5422e4131f933ad854ab872e049dcf7b54 - branch: feature/half_signup_and_budgets_booth + revision: 34bbced1a8215618b8b115467c3cffc8e190d465 + branch: fix/show_sms_verification_code specs: decidim-half_signup (0.27.0) countries (~> 5.1, >= 5.1.2) @@ -1235,4 +1235,4 @@ RUBY VERSION ruby 3.0.6p216 BUNDLED WITH - 2.5.10 + 2.5.22 diff --git a/config/initializers/half_signup.rb b/config/initializers/half_signup.rb index 33b729485b..253a7331d9 100644 --- a/config/initializers/half_signup.rb +++ b/config/initializers/half_signup.rb @@ -8,4 +8,5 @@ config.default_countries = ENV.fetch("AVAILABLE_LOCALES", "fr").split(",").map(&:to_sym) config.skip_csrf = ENV.fetch("HALF_SIGNUP_SKIP_CSRF", "false") == "true" + config.show_sms_verification_code = ENV.fetch("HALF_SIGNUP_SHOW_SMS_VERIFICATION_CODE", "false") == "true" end