[fix #1902] decrease session timeout to 1 hour
This commit is contained in:
parent
4ed5b42de9
commit
959ff6be2c
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