Skip to content

Commit

Permalink
Extract session duration configuration into an env variable (#461)
Browse files Browse the repository at this point in the history
  • Loading branch information
tramuntanal authored Jan 30, 2024
1 parent 9d28dd6 commit efaec13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/initializers/decidim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@

# How long can a user remained logged in before the session expires. Notice that
# this is also maximum time that user can idle before getting automatically signed out.
config.expire_session_after= 48.hours
config.expire_session_after= (ENV["EXPIRE_SESSION_AFTER"].presence || 0.5).hours
end

Decidim.menu :menu do |menu|
Expand Down

0 comments on commit efaec13

Please sign in to comment.