diff --git a/config/initializers/decidim.rb b/config/initializers/decidim.rb index b85dca9..8437e44 100644 --- a/config/initializers/decidim.rb +++ b/config/initializers/decidim.rb @@ -19,6 +19,10 @@ # Timeout session config.expire_session_after = ENV.fetch("DECIDIM_SESSION_TIMEOUT", 180).to_i.minutes + # Devise unconfirmed access + # see also config/initializers/devise.rb line 27 + config.unconfirmed_access_for = ENV.fetch("DECIDIM_UNCONFIRMED_ACCESS", 0).to_i.days + config.maximum_attachment_height_or_width = 6000 # Whether SSL should be forced or not (only in production).