Increase session timeout from 30 minutes to 6 hours
This commit is contained in:
parent
95223e3ba7
commit
d504e5e914
1 changed files with 1 additions and 0 deletions
|
|
@ -178,6 +178,7 @@ Devise.setup do |config|
|
||||||
# The time you want to timeout the user session without activity. After this
|
# 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.
|
# time the user will be asked for credentials again. Default is 30 minutes.
|
||||||
# config.timeout_in = 30.minutes
|
# config.timeout_in = 30.minutes
|
||||||
|
config.timeout_in = 6.hours
|
||||||
|
|
||||||
# ==> Configuration for :lockable
|
# ==> Configuration for :lockable
|
||||||
# Defines which strategy will be used to lock an account.
|
# Defines which strategy will be used to lock an account.
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue