Add timeout to user
This commit is contained in:
1 parent
fbe2b26e9f
commit
9254b9960d
2 files changed
+2
-1
No files matched your search
@@ -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.
|
||||
|
||||
Reference in new issue
Block a user