[fix #1902] decrease session timeout to 1 hour

This commit is contained in:
simon lehericey 2018-05-02 11:28:18 +02:00
parent 4ed5b42de9
commit 959ff6be2c

View file

@ -150,7 +150,7 @@ Devise.setup do |config|
# ==> Configuration for :timeoutable # ==> Configuration for :timeoutable
# The time you want to timeout the user session without activity. After this # 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. # 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. # If true, expires auth token on session timeout.
# config.expire_auth_token_on_timeout = false # config.expire_auth_token_on_timeout = false