mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Merge branch 'disable-session-timeout-for-development-and-staging' into registry-569
This commit is contained in:
commit
ec4b3abae4
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ Devise.setup do |config|
|
||||||
# ==> Configuration for :timeoutable
|
# ==> Configuration for :timeoutable
|
||||||
# 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 = 8.hours
|
config.timeout_in = (Rails.env.development? || Rails.env.staging?) ? 5.years : 8.hours
|
||||||
|
|
||||||
# If true, expires auth token on session timeout.
|
# If true, expires auth token on session timeout.
|
||||||
# config.expire_auth_token_on_timeout = false
|
# config.expire_auth_token_on_timeout = false
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue