make longer devise timeout

This commit is contained in:
Fu Matthew 2012-12-27 15:03:11 +08:00
parent cfb65dd056
commit 0655baab19
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ Devise.setup do |config|
# The time you want to timeout the user session without activity. After this
# time the user will be asked for credentials again.
# config.timeout_in = 10.minutes
config.timeout_in = 10.minutes
config.timeout_in = 5.days
# ==> Configuration for :lockable
# Defines which strategy will be used to lock an account.