-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1f0cb2c
commit 9259b2f
Showing
1 changed file
with
7 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |