Merge pull request #1903 from betagouv/fix_1902_decrease_session_timeout

[fix #1902] decrease session timeout to 1 hour
This commit is contained in:
gregoirenovel 2018-05-02 16:34:20 +02:00 committed by GitHub
commit c43ae05ed4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -150,7 +150,7 @@ Devise.setup do |config|
# ==> Configuration for :timeoutable
# The time you want to timeout the user session without activity. After this
# time the user will be asked for credentials again. Default is 30 minutes.
config.timeout_in = 24.hours
config.timeout_in = 1.hour
# If true, expires auth token on session timeout.
# config.expire_auth_token_on_timeout = false