Add timeout to user

This commit is contained in:
chris committed 2012-12-03 21:45:00 +08:00
1 parent fbe2b26e9f
commit 9254b9960d
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -80,6 +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
# ==> Configuration for :lockable
# Defines which strategy will be used to lock an account.