Merge pull request #1903 from betagouv/fix_1902_decrease_session_timeout
[fix #1902] decrease session timeout to 1 hour
This commit is contained in:
commit
c43ae05ed4
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue