Skip to content

Commit

Permalink
fix: Enable Devise unconfirmed access (#83)
Browse files Browse the repository at this point in the history
  • Loading branch information
moustachu authored Dec 4, 2023
1 parent a498258 commit 38bff62
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/initializers/decidim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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).
Expand Down

0 comments on commit 38bff62

Please sign in to comment.